C language function:ldap_first_attribute sample codes

Search sample code in the internet.It is the result.


TITLE : Programmatic EXTERNAL SASL connection to OpenLDAP | Adam Young’s Web Log
char * attribute = ldap_first_attribute(ldap,entry, &ber);.......
http://adam.younglogic.com/2012/02/exteranl-sasl/


TITLE : Chapter 2 Sample Client
for ( a = ldap_first_attribute( ld, e, &ber );.......
http://docs.oracle.com/cd/E19957-01/817-6707/sample.html
TITLE : ad_ldaptest.c - tests connecting to a Active Directory LDAP server
for ( attribute = ldap_first_attribute(ldap, entry, &ber);.......
http://fm4dd.com/programming/c-code/ad_ldaptest_c.htm
TITLE : ldap_first_entry(3) - Linux man page
This pointer should be supplied on a subsequent call to ldap_next_entry() to get the next entry, the result of which should be supplied to the next call to ldap_next_entry(), etc. ldap_next_entry() will return NULL when there are no more entries. The entries returned from these calls are used in calls to the routines described in ldap_get_dn(3), ldap_first_attribute(3), ldap_get_values(3), etc........
http://linux.die.net/man/3/ldap_first_entry
TITLE : ldap_first_entry(3) - Linux man page
ldap(3), ldap_result(3), ldap_search(3), ldap_first_attribute(3), ldap_get_values(3), ldap_get_dn(3).......
http://linux.die.net/man/3/ldap_first_entry
search Google

https://www.google.com/#q=ldap_first_attribute