C language function:ldap_first_entry sample codes

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


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


TITLE : LDAP authentication - MoodleDocs
[Thu May 26 15:23:53 2011] [error] [client 192.168.xxx.xxx] PHP Warning: ldap_first_entry(): supplied argument is not a valid ldap result resource in /xxx/xxx/moodle20/lib/ldaplib.php on line 248, referer: http://moodle.my.domain.ca/moodle20/login/index.php.......
http://docs.moodle.org/24/en/LDAP_authentication
TITLE : C API for Oracle Internet Directory
If successful, ldap_count_messages() returns the number of messages contained in a chain of results; if an error occurs such as the res parameter being invalid, -1 is returned. The ldap_count_messages() call can also be used to count the number of messages that remain in a chain if called with a message, entry, or reference returned by ldap_first_message(), ldap_next_message(), ldap_first_entry(), ldap_next_entry(), ldap_first_reference(), ldap_next_reference()........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
The ldap_first_entry() and ldap_next_entry() routines are used to step through and retrieve the list of entries from a search result chain. The ldap_first_reference() and ldap_next_reference() routines are used to step through and retrieve the list of continuation references from a search result chain. ldap_count_entries() is used to count the number of entries returned. ldap_count_references() is used to count the number of references returned........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
LDAPMessage *ldap_first_entry( LDAP *ld, LDAPMessage *res );.......
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
The entry returned by a previous call to ldap_first_entry() or ldap_next_entry()........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
ldap_first_entry(), ldap_next_entry(), ldap_first_reference() and ldap_next_reference() all return NULL when no more entries or references exist in the result set to be returned. NULL is also returned if an error occurs while stepping through the entries or references, in which case the error parameters in the session handle ld will be set to indicate the error........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
ldap_count_entries() returns the number of entries contained in a chain of entries; if an error occurs such as the res parameter being invalid, -1 is returned. The ldap_count_entries() call can also be used to count the number of entries that remain in a chain if called with a message, entry or reference returned by ldap_first_message(), ldap_next_message(), ldap_first_entry(), ldap_next_entry(), ldap_first_reference(), ldap_next_reference()........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
The entry whose attributes are to be stepped through, as returned by ldap_first_entry() or ldap_next_entry()........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
The entry from which to retrieve values, as returned by ldap_first_entry() or ldap_next_entry()........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
The entry whose name is to be retrieved, as returned by ldap_first_entry() or ldap_next_entry()........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
The entry to extract controls from, as returned by ldap_first_entry() or ldap_next_entry()........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
e = ldap_first_entry( ld, res );.......
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
for ( e = ldap_first_entry( ld, res ); e != NULLMSG;.......
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : Chapter 5 Searching a LDAP Directory
* If you are retrieving a chain of results, you can call ldap_first_message() and ldap_next_message() to iterate through the results in the chain. If you are just interested in entries, you can call ldap_first_entry() and ldap_next_entry(). If you are just interested in search references, you can call ldap_first_reference() and ldap_next_reference()........
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
TITLE : Chapter 5 Searching a LDAP Directory
* To get an entry from a result (an LDAPMessage structure), call ldap_first_entry()........
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
TITLE : Chapter 5 Searching a LDAP Directory
* If you want to retrieve just the entries from the chain, call ldap_first_entry() and ldap_next_entry(). Both of these functions return a pointer to an LDAPMessage structure that represents an entry. You can get the count of the entries in the chain by calling ldap_count_entries()........
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
TITLE : Chapter 5 Searching a LDAP Directory
for ( e = ldap_first_entry( ld, result ); e != NULL;.......
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
TITLE : Chapter 5 Searching a LDAP Directory
e = ldap_first_entry( ld, result );.......
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
TITLE : Chapter 5 Searching a LDAP Directory
for ( e = ldap_first_entry( ld, result ); e != NULL;.......
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
TITLE : ad_ldaptest.c - tests connecting to a Active Directory LDAP server
for ( entry = ldap_first_entry(ldap, answer);.......
http://fm4dd.com/programming/c-code/ad_ldaptest_c.htm
TITLE : Active Directory object-related operation
Use ldap_get_dn() to retrieve the full DN string with following the ldap_first_entry() and ldap_next_entry().......
http://forum.pellesc.de/index.php@topic=5827.0
TITLE : LDAP PHP Change Password Page GitHub
$user_entry = ldap_first_entry($con, $user_search);.......
http://gist.github.com/657334
TITLE : LDAP PHP Change Password Page GitHub
$auth_entry = ldap_first_entry($con, $user_search);.......
http://gist.github.com/657334
TITLE : LDAP PHP Change Password Page GitHub
$entry = ldap_first_entry($ldap, $res);.......
http://gist.github.com/657334
TITLE : LDAP PHP Change Password Page GitHub
$user_entry = ldap_first_entry($con, $user_search);.......
http://gist.github.com/657334
TITLE : LDAP PHP Change Password Page GitHub
$auth_entry = ldap_first_entry($con, $user_search);.......
http://gist.github.com/657334
TITLE : ldap_first_entry(3) - Linux man page
ldap_first_entry(3) - Linux man page.......
http://linux.die.net/man/3/ldap_first_entry
TITLE : ldap_first_entry(3) - Linux man page
LDAPMessage *ldap_first_entry( LDAP *ld, LDAPMessage *result ).......
http://linux.die.net/man/3/ldap_first_entry
TITLE : ldap_first_entry(3) - Linux man page
The ldap_first_entry() routine is used to retrieve the first entry in a chain of search results. It takes the result as returned by a call to ldap_result(3) or ldap_search_s(3) or ldap_search_st(3) and returns a pointer to the first entry in the result........
http://linux.die.net/man/3/ldap_first_entry
TITLE : ldap_first_entry(3) - Linux man page
If an error occurs in ldap_first_entry() or ldap_next_entry(), NULL is returned and the ld_errno field in the ld parameter is set to indicate the error. If an error occurs in ldap_count_entries(), -1 is returned, and ld_errno is set appropriately. See ldap_error(3) for a description of possible error codes........
http://linux.die.net/man/3/ldap_first_entry
search Google

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