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:
parent
02970f41a2
commit
b14bdf431b
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user