#include <ldap.h> LDAPMessage *ldap_next_message( LDAP *ld, LDAPMessage *msg)
The ldap_next_message() function is used to step through the list of messages in a result chain, as returned by ldap_result() and ldap_first_message(). It is used to return a pointer to the next message from the list.
No i5/OS authority is required.
If ldap_next_message() is not successful, ld_errno will be set to indicate the error. See LDAP Client API Error Conditions for possible LDAP error code values. Use the 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_message API. |
Top | LDAP APIs | APIs by category |