From b14bdf431b49a674bceab7f8f81ae98d938b92f6 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 5 Jun 2011 17:26:07 +0400 Subject: 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. --- source4/scripting/bin/upgradeprovision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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") -- cgit