#include <ldap.h> int ldap_add( LDAP *ld, char *dn, LDAPMod *attrs[])
|
The ldap_add() function is used to perform an LDAP add operation.
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() is not successful, ld_errno will be set to indicate the error. See LDAP Client API Error Conditions for possible LDAP error code values. ldap_get_errno() function to retrieve the error information.
The following message may be set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_add API.
ldap_add_s() -- Synchronously add an entry.
ldap_add_ext() -- Asynchronously add an entry with controls.
ldap_add_ext_s() -- Synchronously add an entry with controls.
ldap_modify() -- Asynchronously modify an entry.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |