1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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.
This commit is contained in:
Matthieu Patou 2011-06-05 17:26:07 +04:00 committed by Matthieu Patou
parent 02970f41a2
commit b14bdf431b

View File

@ -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")