#include <ldap.h> LDAPMessage *ldap_next_entry( LDAP *ld, LDAPMessage *entry)
The ldap_next_entry() function takes the result from a previous call to ldap_first_entry() or ldap_next_entry() and returns a pointer to the next entry in a chain of results.
The entry returned by ldap_next_entry() can be used by functions such as ldap_get_dn(), ldap_first_attribute(), and ldap_get_values(), as well as other functions to obtain additional information about the entry.
No i5/OS authority is required.
If ldap_next_entry() is not successful, NULL is returned, ld_errno will be set to indicate the error. See LDAP Client API Error Conditions for possible LDAP error code values. Use ldap_get_errno() function to retrieve the error information.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_next_entry API. |
Top | LDAP APIs | APIs by category |