mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-05 09:17:54 +03:00
Fixed a couple of typo bugs on RDP Transports
This commit is contained in:
parent
808dfa5aa0
commit
dbe7e5187b
@ -163,6 +163,7 @@ class RDPTransport(Transport):
|
|||||||
else:
|
else:
|
||||||
domain = ''
|
domain = ''
|
||||||
username = proc[0]
|
username = proc[0]
|
||||||
|
|
||||||
if self._fixedName is not '':
|
if self._fixedName is not '':
|
||||||
username = self._fixedName
|
username = self._fixedName
|
||||||
if self._fixedPassword is not '':
|
if self._fixedPassword is not '':
|
||||||
@ -172,6 +173,11 @@ class RDPTransport(Transport):
|
|||||||
if self._useEmptyCreds is True:
|
if self._useEmptyCreds is True:
|
||||||
username, password, domain = '','',''
|
username, password, domain = '','',''
|
||||||
|
|
||||||
|
if domain != '':
|
||||||
|
if domain.find('.') == -1: # Dotter domain form
|
||||||
|
username = username + '@' + domain
|
||||||
|
domain = ''
|
||||||
|
|
||||||
width, height = CommonPrefs.getWidthHeight(prefs)
|
width, height = CommonPrefs.getWidthHeight(prefs)
|
||||||
depth = CommonPrefs.getDepth(prefs)
|
depth = CommonPrefs.getDepth(prefs)
|
||||||
|
|
||||||
|
@ -161,6 +161,11 @@ class TSRDPTransport(Transport):
|
|||||||
if self._useEmptyCreds is True:
|
if self._useEmptyCreds is True:
|
||||||
username, password, domain = '','',''
|
username, password, domain = '','',''
|
||||||
|
|
||||||
|
if domain != '':
|
||||||
|
if domain.find('.') == -1: # Dotter domain form
|
||||||
|
username = username + '@' + domain
|
||||||
|
domain = ''
|
||||||
|
|
||||||
width, height = CommonPrefs.getWidthHeight(prefs)
|
width, height = CommonPrefs.getWidthHeight(prefs)
|
||||||
depth = CommonPrefs.getDepth(prefs)
|
depth = CommonPrefs.getDepth(prefs)
|
||||||
cache = Cache('pam')
|
cache = Cache('pam')
|
||||||
|
Loading…
Reference in New Issue
Block a user