mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Fixed look up user names on Windows Actor on lowercase
This commit is contained in:
parent
5a13f52d8f
commit
b4ba79cad2
@ -187,7 +187,7 @@ class UDSActorSvc(win32serviceutil.ServiceFramework, CommonService):
|
||||
resumeHandle = 0
|
||||
while True:
|
||||
users, _, resumeHandle = win32net.NetLocalGroupGetMembers(None, groupName, 1, resumeHandle, 32768)
|
||||
if user in [u['name'] for u in users]:
|
||||
if user.lower() in [u['name'].lower() for u in users]:
|
||||
useraAlreadyInGroup = True
|
||||
break
|
||||
if resumeHandle == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user