fixed freeing dn early in simta_expand_group. removed redundatnt close in simta_ldap_config.
fixed freeing dn early in simta_expand_group.
removed redundatnt close in simta_ldap_config.

simta/simta,simta/simta,simta/simta