Directory Services


The LDAP_SERVER_PERMISSIVE_MODIFY_OID control is used to modify the behavior of an extended LDAP modify request such as ldap_modify_ext. An LDAP modify request will normally fail if it attempts to add an attribute that already exists, or if it attempts to delete an attribute that does not exist. With this control, as long as the attribute to be added has the same value as the existing attribute, then the modify will succeed. With this control, deletion of an attribute that does not exist will also succeed.

To use this control, set the members of the LDAPControl structure as follows.

struct berval ldctl_value = {0, NULL};
BOOLEAN ldctl_iscritical;


LDAP_SERVER_PERMISSIVE_MODIFY_OID, defined as "1.2.840.113556.1.4.1413".
No data for this control. In the berval structure, set bv_len to zero and bv_val to NULL.
Can be TRUE or FALSE depending on whether the referral limitation is critical to your application.


Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Winldap.h.