1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

scripting: Fix documentation comment on upgradehelpers.py:get_clean_sd

Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett 2013-03-20 14:50:55 +11:00 committed by Stefan Metzmacher
parent 3da89b01fa
commit 6df17fe799

View File

@ -347,15 +347,10 @@ def chunck_sddl(sddl):
def get_clean_sd(sd):
"""Get the SD without difference between 2 sddl
"""Get the SD without any inherited ACEs
This function split the textual representation of ACL into smaller
chunck in order to not to report a simple permutation as a difference
:param refsddl: First sddl to compare
:param cursddl: Second sddl to compare
:param checkSacl: If false we skip the sacl checks
:return: A string that explain difference between sddls
:param sd: SD to strip
:return: An SD with inherited ACEs stripped
"""
sd_clean = security.descriptor()