[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap_rdn2str



Hello all,

I try to use the function ldap_rdn2str :
    LDAPDN*  testDN;
    ldap_str2dn( dnutf8, &testDN, LDAP_DN_FORMAT_LDAP);
    ldap_rdn2str( testDN[0][0], &explode,LDAP_DN_FORMAT_LDAPV3 |
LDAP_DN_PRETTY );

explode = "cn=theCN" how can obtain only the value "theCN" ?

Thanks in advance

Guy