From e17d12c23b2f56d8d29f7ee43148be85d28154c6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 4 Apr 2012 15:17:32 +1000 Subject: ldb-tools: Place the whole of an ldif file in a transaction This ensures that when operating ldbadd and ldbmodify against local ldb files, either an ldif file succeeds or fails as a whole. Also tests to verify that this is working correctly, and an ABI bump due to the extra (private, but exported to ldb* tools) symbol and behaviour change. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Tue Apr 10 11:14:43 CEST 2012 on sn-devel-104 --- lib/ldb/tests/test-dup-2.ldif | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/ldb/tests/test-dup-2.ldif (limited to 'lib/ldb/tests/test-dup-2.ldif') diff --git a/lib/ldb/tests/test-dup-2.ldif b/lib/ldb/tests/test-dup-2.ldif new file mode 100644 index 0000000000..a4261012ad --- /dev/null +++ b/lib/ldb/tests/test-dup-2.ldif @@ -0,0 +1,6 @@ +dn: cn=Sentinel,ou=Alumni Association,ou=People,o=University of Michigan,c=TEST +objectclass: OpenLDAPperson +cn: Sentinel +sn: USER +uid: USER, Sentinel + -- cgit