mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-11 05:17:55 +03:00
removed DEPRECATED from simple ldap
This commit is contained in:
parent
8e4615de19
commit
4df4892111
@ -197,9 +197,9 @@ class SimpleLDAPAuthenticator(auths.Authenticator):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
typeName = _('SimpleLDAP (DEPRECATED)')
|
typeName = _('SimpleLDAP')
|
||||||
typeType = 'SimpleLdapAuthenticator'
|
typeType = 'SimpleLdapAuthenticator'
|
||||||
typeDescription = _('Simple LDAP authenticator (DEPRECATED)')
|
typeDescription = _('Simple LDAP authenticator')
|
||||||
iconFile = 'auth.png'
|
iconFile = 'auth.png'
|
||||||
|
|
||||||
# If it has and external source where to get "new" users (groups must be declared inside UDS)
|
# If it has and external source where to get "new" users (groups must be declared inside UDS)
|
||||||
|
@ -86,29 +86,29 @@ class HTML5SSHTransport(transports.Transport):
|
|||||||
tooltip=_('Username for SSH connection authentication.'),
|
tooltip=_('Username for SSH connection authentication.'),
|
||||||
tab=gui.CREDENTIALS_TAB,
|
tab=gui.CREDENTIALS_TAB,
|
||||||
)
|
)
|
||||||
password = gui.PasswordField(
|
# password = gui.PasswordField(
|
||||||
label=_('Password'),
|
# label=_('Password'),
|
||||||
order=21,
|
# order=21,
|
||||||
tooltip=_('Password for SSH connection authentication'),
|
# tooltip=_('Password for SSH connection authentication'),
|
||||||
tab=gui.CREDENTIALS_TAB,
|
# tab=gui.CREDENTIALS_TAB,
|
||||||
)
|
# )
|
||||||
sshPrivateKey = gui.TextField(
|
# sshPrivateKey = gui.TextField(
|
||||||
label=_('SSH Private Key'),
|
# label=_('SSH Private Key'),
|
||||||
order=22,
|
# order=22,
|
||||||
multiline=4,
|
# multiline=4,
|
||||||
tooltip=_(
|
# tooltip=_(
|
||||||
'Private key for SSH authentication. If not provided, password authentication is used.'
|
# 'Private key for SSH authentication. If not provided, password authentication is used.'
|
||||||
),
|
# ),
|
||||||
tab=gui.CREDENTIALS_TAB,
|
# tab=gui.CREDENTIALS_TAB,
|
||||||
)
|
# )
|
||||||
sshPassphrase = gui.PasswordField(
|
# sshPassphrase = gui.PasswordField(
|
||||||
label=_('SSH Private Key Passphrase'),
|
# label=_('SSH Private Key Passphrase'),
|
||||||
order=23,
|
# order=23,
|
||||||
tooltip=_(
|
# tooltip=_(
|
||||||
'Passphrase for SSH private key if it is required. If not provided, but it is needed, user will be prompted for it.'
|
# 'Passphrase for SSH private key if it is required. If not provided, but it is needed, user will be prompted for it.'
|
||||||
),
|
# ),
|
||||||
tab=gui.CREDENTIALS_TAB,
|
# tab=gui.CREDENTIALS_TAB,
|
||||||
)
|
# )
|
||||||
|
|
||||||
sshCommand = gui.TextField(
|
sshCommand = gui.TextField(
|
||||||
label=_('SSH Command'),
|
label=_('SSH Command'),
|
||||||
@ -253,9 +253,9 @@ class HTML5SSHTransport(transports.Transport):
|
|||||||
# Add optional parameters (strings only)
|
# Add optional parameters (strings only)
|
||||||
for i in (
|
for i in (
|
||||||
('username', self.username),
|
('username', self.username),
|
||||||
('password', self.password),
|
# ('password', self.password),
|
||||||
('private-key', self.sshPrivateKey),
|
# ('private-key', self.sshPrivateKey),
|
||||||
('passphrase', self.sshPassphrase),
|
# ('passphrase', self.sshPassphrase),
|
||||||
('command', self.sshCommand),
|
('command', self.sshCommand),
|
||||||
('host-key', self.sshHostKey),
|
('host-key', self.sshHostKey),
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user