summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-06-05 17:26:07 +0400
committerMatthieu Patou <mat@samba.org>2011-06-19 23:21:07 +0200
commitb14bdf431b49a674bceab7f8f81ae98d938b92f6 (patch)
tree6858f52c7302f9dcae7f6011dbf4e97c00f73fe7 /source4/scripting
parent02970f41a27bd4614d6aedf0fe337619b34310db (diff)
downloadsamba-b14bdf431b49a674bceab7f8f81ae98d938b92f6.tar.gz
samba-b14bdf431b49a674bceab7f8f81ae98d938b92f6.tar.bz2
samba-b14bdf431b49a674bceab7f8f81ae98d938b92f6.zip
s4-upgradeprovision: Fix an error, so that cursddl and refsddl are not the same
Thanks to Dirk Paulli for pointing it with his bug report.
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index e58a2647b6..9d3b683940 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -905,7 +905,7 @@ def update_present(ref_samdb, samdb, basedn, listPresent, usns, invocationid):
cursddl = cursd.as_sddl(names.domainsid)
refsd = ndr_unpack(security.descriptor,
str(reference[0]["nTSecurityDescriptor"]))
- refsddl = cursd.as_sddl(names.domainsid)
+ refsddl = refsd.as_sddl(names.domainsid)
if get_diff_sddls(refsddl, cursddl) == "":
message(CHANGE, "sd are identical")