summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-19 11:43:41 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-19 11:43:41 +1000
commit47d80366bef5e62b6727a574b2300cc94a2e18f7 (patch)
tree230c0c76f43e020d6232352ae6f1ba9ad0706880 /source4/setup
parentbb80a19714048def04b9d94d4e9f125a20a95822 (diff)
downloadsamba-47d80366bef5e62b6727a574b2300cc94a2e18f7.tar.gz
samba-47d80366bef5e62b6727a574b2300cc94a2e18f7.tar.bz2
samba-47d80366bef5e62b6727a574b2300cc94a2e18f7.zip
Fix templates.ldb reprovision handling.
This sets the attributes in a seperate transaction, and allows a forced delete of the whole file. Andrew Bartlett (This used to be commit 423db2468ba3dac89cebc59c8498c0b08c5f3d7b)
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/provision_templates.ldif10
-rw-r--r--source4/setup/provision_templates_init.ldif10
2 files changed, 10 insertions, 10 deletions
diff --git a/source4/setup/provision_templates.ldif b/source4/setup/provision_templates.ldif
index 8f4ed08252..04257549d5 100644
--- a/source4/setup/provision_templates.ldif
+++ b/source4/setup/provision_templates.ldif
@@ -2,16 +2,6 @@
# Templates to be put in templates.ldb. Not part of main samdb any more.
###
-dn: @OPTIONS
-checkBaseOnSearch: TRUE
-
-dn: @INDEXLIST
-@IDXATTR: cn
-
-dn: @ATTRIBUTES
-cn: CASE_INSENSITIVE
-dn: CASE_INSENSITIVE
-
dn: CN=Templates
objectClass: top
objectClass: container
diff --git a/source4/setup/provision_templates_init.ldif b/source4/setup/provision_templates_init.ldif
new file mode 100644
index 0000000000..6d6a3c228c
--- /dev/null
+++ b/source4/setup/provision_templates_init.ldif
@@ -0,0 +1,10 @@
+dn: @OPTIONS
+checkBaseOnSearch: TRUE
+
+dn: @INDEXLIST
+@IDXATTR: cn
+
+dn: @ATTRIBUTES
+cn: CASE_INSENSITIVE
+dn: CASE_INSENSITIVE
+