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.
PWCHAR ldctl_oid = LDAP_SERVER_PERMISSIVE_MODIFY_OID; struct berval ldctl_value = {0, NULL}; BOOLEAN ldctl_iscritical;
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.