#include <ldap.h>
int ldap_parse_reference_np(LDAP *ld,
LDAPMessage *ref,
char ***referralsp,
LDAPControl ***serverctrlsp,
int freeit)
|
The ldap_parse_reference_np() routine is used to retrieve the list of alternate servers returned in an individual continuation reference in a chain of search results. This routine is also used to obtain an array of server controls returned in the continuation reference.
Note the suffix "_np" which shows the API is in a preliminary implementation, and is not documented in the Internet Draft.
No OS/400 authority is required. All authority checking is done by the LDAP server. The internet community may standardize this API in the future.
ldap_parse_reference_np() will return LDAP error code if not successful. See LDAP Client API Error Conditions for possible LDAP error code values.
The following message may be set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_parse_reference_np API.
ldap_first_entry() -- Return first entry in a chain of search results.
ldap_next_entry() -- Return next entry in a chain of search results.
ldap_count_entry() -- Return number of entry in a chain of search results.
ldap_get_entry_controls_np() -- Extract server controls from an entry.
ldap_count_reference() -- Return the number of continuation reference in a chain of search results.
ldap_first_reference() -- Return first continuation reference in a chain of search results.
ldap_next_reference() -- Return next continuation reference in a chain of search results.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |