mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Merge remote-tracking branch 'origin/v3.6'
This commit is contained in:
commit
ac4177f22b
@ -391,6 +391,10 @@ class HTML5RDPTransport(transports.Transport):
|
||||
username = username + '@' + domain
|
||||
domain = ''
|
||||
|
||||
# If AzureAD, include it on username
|
||||
if azureAd:
|
||||
username = 'AzureAD\\' + username
|
||||
|
||||
# Fix username/password acording to os manager
|
||||
username, password = userService.processUserPassword(username, password)
|
||||
|
||||
|
@ -408,6 +408,10 @@ class BaseRDPTransport(transports.Transport):
|
||||
if '\\' in username:
|
||||
domain, username = username.split('\\')
|
||||
|
||||
# If AzureAD, include it on username
|
||||
if azureAd:
|
||||
username = 'AzureAD\\' + username
|
||||
|
||||
return {
|
||||
'protocol': self.protocol,
|
||||
'username': username,
|
||||
|
Loading…
Reference in New Issue
Block a user