#include <ldap.h>
int ldap_add_ext(
LDAP *ld,
char *dn,
LDAPMod *attrs[],
LDAPControl **serverctrls,
LDAPControl **clientctrls,
int *msgidp)
|
The ldap_add_ext() function is used to perform an LDAP add operation with controls.
No OS/400 authority is required. All authority checking is done by the LDAP server.
Note that all entries except that specified by the last component in the given DN must already exist.
If ldap_add_ext() is not successful, LDAP error code will be returned. See LDAP Client API Error Conditions for possible LDAP error code values. The error code indicates if the operation completed successfully. The ldap_parse_result() API is used to check the error code in the result.
The following message may be set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_add_ext API.
ldap_add() -- Asynchronously add an entry.
ldap_add_s() -- Synchronously add an entry.
ldap_add_ext_s() -- Synchronously add an entry with controls.
ldap_modify_ext() -- Asynchronously modify an entry with controls.
The ldap_add_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] |