summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-09-13 00:19:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-09-13 02:24:03 +0200
commitdc26067a6f73d20fda65cc2996a0c6c156d4d5b0 (patch)
treeb94fee4e72438ac4b147c8074884aff96a109f26 /source4/scripting
parent1fcce6bd3f8bebbec02d2b0e9ef07da74d74f514 (diff)
downloadsamba-dc26067a6f73d20fda65cc2996a0c6c156d4d5b0.tar.gz
samba-dc26067a6f73d20fda65cc2996a0c6c156d4d5b0.tar.bz2
samba-dc26067a6f73d20fda65cc2996a0c6c156d4d5b0.zip
delegation.py: Remove tab characters.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/netcmd/delegation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/netcmd/delegation.py b/source4/scripting/python/samba/netcmd/delegation.py
index cf04d9d577..c29c798be4 100644
--- a/source4/scripting/python/samba/netcmd/delegation.py
+++ b/source4/scripting/python/samba/netcmd/delegation.py
@@ -107,7 +107,7 @@ class cmd_delegation_for_any_service(Command):
# to the correct domain
(cleanedaccount, realm, domain) = _get_user_realm_domain(accountname)
- search_filter = "sAMAccountName=%s" % ldb.binary_encode(cleanedaccount)
+ search_filter = "sAMAccountName=%s" % ldb.binary_encode(cleanedaccount)
flag = dsdb.UF_TRUSTED_FOR_DELEGATION
try:
sam.toggle_userAccountFlags(search_filter, flag, on=on, strict=True)
@@ -142,7 +142,7 @@ class cmd_delegation_for_any_protocol(Command):
# to the correct domain
(cleanedaccount, realm, domain) = _get_user_realm_domain(accountname)
- search_filter = "sAMAccountName=%s" % ldb.binary_encode(cleanedaccount)
+ search_filter = "sAMAccountName=%s" % ldb.binary_encode(cleanedaccount)
flag = dsdb.UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION
try:
sam.toggle_userAccountFlags(search_filter, flag, on=on, strict=True)