mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
delegation.py: Remove tab characters.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user