From 6df17fe799968ca7e2f92ce9e294e3962ac8cbaf Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 20 Mar 2013 14:50:55 +1100 Subject: scripting: Fix documentation comment on upgradehelpers.py:get_clean_sd Reviewed-by: Stefan Metzmacher --- python/samba/upgradehelpers.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'python') diff --git a/python/samba/upgradehelpers.py b/python/samba/upgradehelpers.py index 298e767afc..13a369183a 100644 --- a/python/samba/upgradehelpers.py +++ b/python/samba/upgradehelpers.py @@ -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() -- cgit