summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/python/samba/samdb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index 4c24989a21..d0955becb8 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -106,13 +106,13 @@ class SamDB(samba.Ldb):
def toggle_userAccountFlags(self, search_filter, flags, flags_str=None,
on=True, strict=False):
- """toggle_userAccountFlags
+ """Toggle_userAccountFlags
:param search_filter: LDAP filter to find the user (eg
samccountname=name)
- :flags: samba.dsdb.UF_* flags
- :on: on=True (default) => set, on=False => unset
- :strict: strict=False (default) ignore if no action is needed
+ :param flags: samba.dsdb.UF_* flags
+ :param on: on=True (default) => set, on=False => unset
+ :param strict: strict=False (default) ignore if no action is needed
strict=True raises an Exception if...
"""
res = self.search(base=self.domain_dn(), scope=ldb.SCOPE_SUBTREE,