#include <ldap.h>
struct berval {
unsigned long bv_len;
char *bv_val;
};
int ldap_compare_ext(
LDAP *ld,
char *dn,
char *attr,
berval *bvalue,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
int *msgidp)
|
The ldap_compare_ext() function is used to perform an LDAP compare operation with controls. The ldap_compare_ext() API initiates an asynchronous compare operation and returns the constant LDAP_SUCCESS if the request was successfully sent, or another LDAP error code if not.
No OS/400 authority is required. All authority checking is done by the LDAP server.
ldap_compare_ext() 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_compare_ext API.
ldap_compare() -- Asynchronous compare to a directory entry.
ldap_compare_s() -- Synchronous compare to a directory entry.
ldap_compare_ext_s() -- Synchronous compare to a directory entry with controls.
The ldap_compare_ext() API support LDAP V3 server controls and client controls.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |