summaryrefslogtreecommitdiff
path: root/source4/scripting/bin
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-11-12 20:00:57 +0300
committerMatthieu Patou <mat@samba.org>2010-11-12 19:40:21 +0000
commit81eb7985e6d79852b3e25814cd15d6be56245d64 (patch)
treeceefce4382ea77540b0a5a8e739e0458aa78e4c4 /source4/scripting/bin
parenta9c430bdd2e07e8111d1073238059de6c6f478d5 (diff)
downloadsamba-81eb7985e6d79852b3e25814cd15d6be56245d64.tar.gz
samba-81eb7985e6d79852b3e25814cd15d6be56245d64.tar.bz2
samba-81eb7985e6d79852b3e25814cd15d6be56245d64.zip
upgradeprovision: use relaxed control while adding missing object container
Diffstat (limited to 'source4/scripting/bin')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index d2cc7abae7..e450cf8987 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -654,7 +654,9 @@ def add_deletedobj_containers(ref_samdb, samdb, names):
delta.dn = Dn(samdb, str(reference[0]["dn"]))
for att in hashAttrNotCopied.keys():
delta.remove(att)
- samdb.add(delta)
+
+ modcontrols = ["relax:0", "local_oid:1.3.6.1.4.1.7165.4.3.16:0"]
+ samdb.add(delta, modcontrols)
listwko = []
res = samdb.search(expression="(objectClass=*)", base=part,