summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/upgradeprovision
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-09-05 02:58:31 +0400
committerMatthieu Patou <mat@matws.net>2010-09-05 12:29:20 +0400
commit13d575d6e320961153d7071bc4f9b5cccdfb71b6 (patch)
tree0c81954265fd356b543cb715b4c9c2389925d34f /source4/scripting/bin/upgradeprovision
parent1d0815281e41cb1ca2cf72a3dba28a9ca75fb65d (diff)
downloadsamba-13d575d6e320961153d7071bc4f9b5cccdfb71b6.tar.gz
samba-13d575d6e320961153d7071bc4f9b5cccdfb71b6.tar.bz2
samba-13d575d6e320961153d7071bc4f9b5cccdfb71b6.zip
upgradeprovision: cleanup
Diffstat (limited to 'source4/scripting/bin/upgradeprovision')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index 2bae4b9c23..046474ff5d 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -456,7 +456,6 @@ def handle_special_add(samdb, dn, names):
#This entry was misplaced lets remove it if it exists
dntoremove = "CN=Certificate Service DCOM Access,"\
"CN=Users, %s" % names.rootdn
- print dntoremove
objDn = Dn(samdb, "CN=Cryptographic Operators, CN=Builtin, %s" % names.rootdn)
if dn == objDn:
@@ -687,8 +686,9 @@ def add_missing_entries(ref_samdb, samdb, names, basedn, list):
# DN can't be created because it depends on some
# other DN in the list
listDefered.append(dn)
+
if len(listDefered) != 0:
- raise ProvisioningError("Unable to insert missing elements:" \
+ raise ProvisioningError("Unable to insert missing elements:"
"circular references")
def handle_links(samdb, att, basedn, dn, value, ref_value, delta):