fixed bug in ldap_distinguished_name