summaryrefslogtreecommitdiff
path: root/lib/ldb/tests/test-dup.ldif
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-04 15:17:32 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-10 11:14:43 +0200
commite17d12c23b2f56d8d29f7ee43148be85d28154c6 (patch)
tree40f233b97d294c70536f1e597de4b130ecd09807 /lib/ldb/tests/test-dup.ldif
parent501d6d3dd4e3045e069bb2f7a52cf842dd1dfa67 (diff)
downloadsamba-e17d12c23b2f56d8d29f7ee43148be85d28154c6.tar.gz
samba-e17d12c23b2f56d8d29f7ee43148be85d28154c6.tar.bz2
samba-e17d12c23b2f56d8d29f7ee43148be85d28154c6.zip
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 <abartlet@samba.org> Autobuild-Date: Tue Apr 10 11:14:43 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/ldb/tests/test-dup.ldif')
-rw-r--r--lib/ldb/tests/test-dup.ldif13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/ldb/tests/test-dup.ldif b/lib/ldb/tests/test-dup.ldif
new file mode 100644
index 0000000000..b35420befb
--- /dev/null
+++ b/lib/ldb/tests/test-dup.ldif
@@ -0,0 +1,13 @@
+dn: cn=Fred Bassett,ou=Alumni Association,ou=People,o=University of Michigan,c=TEST
+objectclass: OpenLDAPperson
+cn: Fred Bassett
+sn: Bassett
+uid: Bassett, Fred
+
+dn: cn=Sentinel,ou=Alumni Association,ou=People,o=University of Michigan,c=TEST
+objectclass: OpenLDAPperson
+cn: Sentinel
+sn: USER
+uid: USER, Sentinel
+
+