Transactions

You can configure your Directory Server to allow clients to use transactions. (For more information about configuring transaction settings, see Specify transaction settings.) A transaction is a group of LDAP directory operations that are treated as one unit. None of the individual LDAP operations that make up a transaction are permanent until all operations in the transaction have completed successfully and the transaction has been committed. If any of the operations fail or the transaction is cancelled, the other operations are undone. This capability can help users to keep LDAP operations organized. For example, a user might set up a transaction on his client that will delete several directory entries. If the client loses its connection to the server part way through the transaction, none of the entries are deleted. Therefore the user can simply start the transaction over rather than having to check to see which entries were successfully deleted.

The following LDAP operations can be part of a transaction:

Note:
Do not include changes to the directory schema (the cn=schema suffix) in transactions. Though it is possible to include them, they cannot be backed out if the transaction fails. This could cause your directory server to experience unpredictable problems.