fixed saving of LDAP params in core-ldap