summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-03-20 14:50:55 +1100
committerStefan Metzmacher <metze@samba.org>2013-03-25 10:28:25 +0100
commit6df17fe799968ca7e2f92ce9e294e3962ac8cbaf (patch)
tree809f5e169e7ee67dad8bfc138b8ca02efdbcebb3 /python
parent3da89b01faebba669434b07db344c203a4521ca2 (diff)
downloadsamba-6df17fe799968ca7e2f92ce9e294e3962ac8cbaf.tar.gz
samba-6df17fe799968ca7e2f92ce9e294e3962ac8cbaf.tar.xz
samba-6df17fe799968ca7e2f92ce9e294e3962ac8cbaf.zip
scripting: Fix documentation comment on upgradehelpers.py:get_clean_sd
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/upgradehelpers.py11
1 files changed, 3 insertions, 8 deletions
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()