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_search_parameters<br />

int ldap_search(LDAP* ld, char* base, int scope, char* filter, char* attrs[], int attrsonly)<br />

ld The LDAP struct returned from ldap_init or ldap_open<br />

base<br />

The base of the search<br />

scope The scope of the search: LDAP_SCOPE_BASE,<br />

LDAP_SCOPE_ONELEVEL, or LDAP_SCOPE_SUBTREE<br />

filter<br />

The search filter, example: (&(objectclass=posixAccount)(uid=awilliam))<br />

attrs A null terminated array of the attributes to be retrieved. An<br />

asterisk (*) indicates all attributes, and a plus (+) indicates all<br />

operational attributes.<br />

attrsonly A value of one indicates that only attributes, and not their values,<br />

should be returned. Zero indicates attributes and their values.

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

Saved successfully!

Ooh no, something went wrong!