mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
samba-tool dbcheck: fix comment on err_wrong_sd
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
2cfbfa6337
commit
68f13f5d7e
@ -692,8 +692,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
|
|||||||
return (sd, None)
|
return (sd, None)
|
||||||
|
|
||||||
def err_wrong_sd(self, dn, sd, sd_broken):
|
def err_wrong_sd(self, dn, sd, sd_broken):
|
||||||
'''re-write replPropertyMetaData elements for a single attribute for a
|
'''re-write the SD due to incorrect inherited ACEs'''
|
||||||
object. This is used to fix missing replPropertyMetaData elements'''
|
|
||||||
sd_attr = "nTSecurityDescriptor"
|
sd_attr = "nTSecurityDescriptor"
|
||||||
sd_val = ndr_pack(sd)
|
sd_val = ndr_pack(sd)
|
||||||
sd_flags = security.SECINFO_DACL | security.SECINFO_SACL
|
sd_flags = security.SECINFO_DACL | security.SECINFO_SACL
|
||||||
|
Loading…
Reference in New Issue
Block a user