ldap_getdn

Description

The ldap_getdn() function returns the DN for the specified LDAP entry.

Not supported in Endpoint Privilege Management for Linux (EPM-L).

Syntax

result = ldap_getdn (LDAPEntry);

Arguments

LDAPEntry Required. An LDAP entry. ldap_firstentry(), ldap_nextentry(), and ldap_search() generate LDAP entries.

Return Values

string

A DN.

Empty string Error condition.
result = ldap_getdn (LDAPEntry);

For more information, see the following: