mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
python:samba:netcmd: Fix code spelling
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andreas Schneider
parent
de2c4879ce
commit
e046986d04
@@ -278,7 +278,7 @@ class Descriptor(object):
|
||||
self.dacl_list.sort()
|
||||
|
||||
def extract_dacl(self):
|
||||
""" Extracts the DACL as a list of ACE string (with the brakets).
|
||||
""" Extracts the DACL as a list of ACE string (with the brackets).
|
||||
"""
|
||||
try:
|
||||
if "S:" in self.sddl:
|
||||
@@ -876,7 +876,7 @@ class cmd_ldapcmp(Command):
|
||||
Option("-v", "--verbose", dest="verbose", action="store_true", default=False,
|
||||
help="Print all DN pairs that have been compared"),
|
||||
Option("--sd", dest="descriptor", action="store_true", default=False,
|
||||
help="Compare nTSecurityDescriptor attibutes only"),
|
||||
help="Compare nTSecurityDescriptor attributes only"),
|
||||
Option("--sort-aces", dest="sort_aces", action="store_true", default=False,
|
||||
help="Sort ACEs before comparison of nTSecurityDescriptor attribute"),
|
||||
Option("--view", dest="view", default="section", choices=["section", "collision"],
|
||||
@@ -888,7 +888,7 @@ class cmd_ldapcmp(Command):
|
||||
Option("--scope", dest="scope", default="SUB", choices=["SUB", "ONE", "BASE"],
|
||||
help="Pass search scope that builds DN list. Options: SUB, ONE, BASE"),
|
||||
Option("--filter", dest="filter", default="",
|
||||
help="List of comma separated attributes to ignore in the comparision"),
|
||||
help="List of comma separated attributes to ignore in the comparison"),
|
||||
Option("--skip-missing-dn", dest="skip_missing_dn", action="store_true", default=False,
|
||||
help="Skip report and failure due to missing DNs in one server or another"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user