mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Do not encode usernames
This commit is contained in:
parent
708078b152
commit
cc154ef857
@ -87,7 +87,7 @@ def _get_username(member):
|
||||
str: The username converted to domain\\username format
|
||||
'''
|
||||
return member.ADSPath.replace('WinNT://', '').replace(
|
||||
'/', '\\').encode('ascii', 'backslashreplace')
|
||||
'/', '\\')
|
||||
|
||||
|
||||
def add(name, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user