14.02.2014 Views

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ldap_get_dn<br />

char* ldap_get_dn(LDAP* ld, LDAPMessage *entry)<br />

ldap_get_dn returns a pointer to the dn of the object reffered to by the<br />

entry struct.<br />

ld The LDAP struct obtained via ldap_init or ldap_open<br />

entry An LDAPMessage struct obtained via ldap_first_entry or<br />

ldap_next_entry after a query operation.<br />

When no longer required the dn value should be de-allocated with a call<br />

to ldap_memfree(char*).<br />

If for any reason the ld or entry paramters ae invalid a NULL pointer is<br />

returned and ld_errno is set approriately.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!