ldap_explode_rdn() function converts a relative distinguished name (RDN) into its component parts. For more information, see "Getting the Components of a Distinguished Name" on page 129.
#include <ldap.h>
char ** ldap_explode_rdn( const char *dn, int notypes );
dn | Relative distinguished name (RDN) that you want separated into components. |
notypes |
ldap_explode_rdn( "ou=Sales + cn=Barbara Jensen", 0 );returns this array:
{ "ou=Sales", "cn=Barbara Jensen", NULL }
ldap_explode_dn(), ldap_get_dn().
Last Updated: 10/01/98 17:06:23