Show More
@@ -68,7 +68,7 b' Below is example setup that can be used ' | |||
|
68 | 68 | # Multiple servers can be specified using commas |
|
69 | 69 | |
|
70 | 70 | *option*: `port` => `389` |
|
71 |
# Custom port that the LDAP server is listening on. Default value is: 389, use 6 |
|
|
71 | # Custom port that the LDAP server is listening on. Default value is: 389, use 636 for LDAPS(SSL) | |
|
72 | 72 | |
|
73 | 73 | *option*: `timeout` => `300` |
|
74 | 74 | # Timeout for LDAP connection |
@@ -58,7 +58,7 b' Below is example setup that can be used ' | |||
|
58 | 58 | # Multiple servers can be specified using commas |
|
59 | 59 | |
|
60 | 60 | *option*: `port` => `389` |
|
61 |
# Custom port that the LDAP server is listening on. Default value is: 389, use 6 |
|
|
61 | # Custom port that the LDAP server is listening on. Default value is: 389, use 636 for LDAPS(SSL) | |
|
62 | 62 | |
|
63 | 63 | *option*: `timeout` => `300` |
|
64 | 64 | # Timeout for LDAP connection |
@@ -22,7 +22,7 b' authentication::' | |||
|
22 | 22 | # Multiple servers can be specified using commas |
|
23 | 23 | |
|
24 | 24 | *option*: `port` => `389` |
|
25 |
# Custom port that the LDAP server is listening on. Default value is: 389, use 6 |
|
|
25 | # Custom port that the LDAP server is listening on. Default value is: 389, use 636 for LDAPS(SSL) | |
|
26 | 26 | |
|
27 | 27 | *option*: `timeout` => `300` |
|
28 | 28 | # Timeout for LDAP connection |
@@ -85,7 +85,7 b' class AuthLdap(AuthLdapBase):' | |||
|
85 | 85 | self.TLS_KIND = tls_kind |
|
86 | 86 | |
|
87 | 87 | if self.TLS_KIND == 'LDAPS': |
|
88 |
port = port or 6 |
|
|
88 | port = port or 636 | |
|
89 | 89 | self.ldap_server_type += 's' |
|
90 | 90 | |
|
91 | 91 | OPT_X_TLS_DEMAND = 2 |
@@ -249,7 +249,7 b' class LdapSettingsSchema(AuthnPluginSett' | |||
|
249 | 249 | colander.Int(), |
|
250 | 250 | default=389, |
|
251 | 251 | description=_('Custom port that the LDAP server is listening on. ' |
|
252 |
'Default value is: 389, use 6 |
|
|
252 | 'Default value is: 389, use 636 for LDAPS (SSL)'), | |
|
253 | 253 | preparer=strip_whitespace, |
|
254 | 254 | title=_('Port'), |
|
255 | 255 | validator=colander.Range(min=0, max=65536), |
General Comments 0
You need to be logged in to leave comments.
Login now