(Input) The entry's attributes, specified using the LDAPMod
structure, as defined for ldap_modify(). The
mod_type and mod_vals fields should be filled in. The
mod_op field is ignored unless ORed with the constant
LDAP_MOD_BVALUES. In this case, the mod_op field is used to
select the mod_bvalues case of the mod_vals union.
serverctrls
(Input) A list of LDAP server controls. This parameter may be set
to null. See Controls for LDAP APIs for more information
about server controls.
clientctrls
(Input) A list of LDAP client controls. This parameter may be set
to null. See Controls for LDAP APIs for more information
about client controls.
Return Value
LDAP_SUCCESS
if the request was successful.
another LDAP error code
if the request was not successful.
Error Conditions
The ldap_add_ext_s() will return an LDAP error code if not
successful. See LDAP Client API Error
Conditions for possible LDAP error code values.
Error Messages
The following message may be sent from this function.
Message ID
Error Message Text
CPF3CF2 E
Error(s) occurred during running of ldap_add_ext_s
API.