ldap: fixed ldaps port example to correct number.
This commit is contained in:
parent
14ac9e9a0f
commit
90b8007935
4 changed files with 5 additions and 5 deletions
|
|
@ -68,7 +68,7 @@ Below is example setup that can be used with Active Directory and LDAP server wi
|
|||
# Multiple servers can be specified using commas
|
||||
|
||||
*option*: `port` => `389`
|
||||
# Custom port that the LDAP server is listening on. Default value is: 389, use 689 for LDAPS(SSL)
|
||||
# Custom port that the LDAP server is listening on. Default value is: 389, use 636 for LDAPS(SSL)
|
||||
|
||||
*option*: `timeout` => `300`
|
||||
# Timeout for LDAP connection
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ Below is example setup that can be used with Active Directory/LDAP server::
|
|||
# Multiple servers can be specified using commas
|
||||
|
||||
*option*: `port` => `389`
|
||||
# Custom port that the LDAP server is listening on. Default value is: 389, use 689 for LDAPS(SSL)
|
||||
# Custom port that the LDAP server is listening on. Default value is: 389, use 636 for LDAPS(SSL)
|
||||
|
||||
*option*: `timeout` => `300`
|
||||
# Timeout for LDAP connection
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ authentication::
|
|||
# Multiple servers can be specified using commas
|
||||
|
||||
*option*: `port` => `389`
|
||||
# Custom port that the LDAP server is listening on. Default value is: 389, use 689 for LDAPS(SSL)
|
||||
# Custom port that the LDAP server is listening on. Default value is: 389, use 636 for LDAPS(SSL)
|
||||
|
||||
*option*: `timeout` => `300`
|
||||
# Timeout for LDAP connection
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ class AuthLdap(AuthLdapBase):
|
|||
self.TLS_KIND = tls_kind
|
||||
|
||||
if self.TLS_KIND == 'LDAPS':
|
||||
port = port or 689
|
||||
port = port or 636
|
||||
self.ldap_server_type += 's'
|
||||
|
||||
OPT_X_TLS_DEMAND = 2
|
||||
|
|
@ -249,7 +249,7 @@ class LdapSettingsSchema(AuthnPluginSettingsSchemaBase):
|
|||
colander.Int(),
|
||||
default=389,
|
||||
description=_('Custom port that the LDAP server is listening on. '
|
||||
'Default value is: 389, use 689 for LDAPS (SSL)'),
|
||||
'Default value is: 389, use 636 for LDAPS (SSL)'),
|
||||
preparer=strip_whitespace,
|
||||
title=_('Port'),
|
||||
validator=colander.Range(min=0, max=65536),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue