Syntax
string ldap_get_dn(int ldapid, ldapentry entry[, boolean trace])
Description
ldap_get_dn returns the DN of the specified entry, as a string. ldapentry is a valid entry returned by a previous call to ldap_first_entry or ldap_next_entry.
If the optional trace parameter is set to true, any errors or warnings from the LDAP function are written to stdout.
Example
dnstr=ldap_get_dn(ldapid,entry;