1
0
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:
Adolfo Gómez García 2023-04-25 13:09:13 +02:00
commit ac4177f22b
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
2 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -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,