Show More
@@ -71,15 +71,17 b' class LdapSettingsSchema(AuthnPluginSett' | |||||
71 | host = colander.SchemaNode( |
|
71 | host = colander.SchemaNode( | |
72 | colander.String(), |
|
72 | colander.String(), | |
73 | default='', |
|
73 | default='', | |
74 | description=_('Host of the LDAP Server \n' |
|
74 | description=_('Host[s] of the LDAP Server \n' | |
75 |
'(e.g., 192.168.2.154, or ldap-server.domain.com' |
|
75 | '(e.g., 192.168.2.154, or ldap-server.domain.com.\n ' | |
|
76 | 'Multiple servers can be specified using commas'), | |||
76 | preparer=strip_whitespace, |
|
77 | preparer=strip_whitespace, | |
77 | title=_('LDAP Host'), |
|
78 | title=_('LDAP Host'), | |
78 | widget='string') |
|
79 | widget='string') | |
79 | port = colander.SchemaNode( |
|
80 | port = colander.SchemaNode( | |
80 | colander.Int(), |
|
81 | colander.Int(), | |
81 | default=389, |
|
82 | default=389, | |
82 |
description=_('Custom port that the LDAP server is listening on. |
|
83 | description=_('Custom port that the LDAP server is listening on. ' | |
|
84 | 'Default value is: 389'), | |||
83 | preparer=strip_whitespace, |
|
85 | preparer=strip_whitespace, | |
84 | title=_('Port'), |
|
86 | title=_('Port'), | |
85 | validator=colander.Range(min=0, max=65536), |
|
87 | validator=colander.Range(min=0, max=65536), |
General Comments 0
You need to be logged in to leave comments.
Login now