scripting: Fix documentation comment on upgradehelpers.py:get_clean_sd
authorAndrew Bartlett <abartlet@samba.org>
Wed, 20 Mar 2013 03:50:55 +0000 (14:50 +1100)
committerStefan Metzmacher <metze@samba.org>
Mon, 25 Mar 2013 09:28:25 +0000 (10:28 +0100)
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/upgradehelpers.py

index 298e767afcfde719ffc6c1aea56a1b7e13626583..13a369183a9e019b4baea539258df0fec46be12a 100644 (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()