Directory Services |
The LDAP_SERVER_LAZY_COMMIT_OID control is used to tell the server to return the results of a DS modification command, such as add, delete, replace, and so on, after it has been completed in memory, but before it has been committed to disk. The server can then return results quickly, and save the data to disk without holding the client.
To use this control, set the members of the LDAPControl structure as follows.
PWCHAR ldctl_oid = LDAP_SERVER_LAZY_COMMIT_OID; struct berval ldctl_value = {0, NULL}; BOOLEAN ldctl_iscritical;
As with any caching scheme, using this control presents the risk of data loss if the server abnormally terminates, due to a power loss or other unrecoverable error, before the requested changes are written to disk.
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.