collective / pas.plugins.ldap

Zope (and Plone) PAS Plugin providing users and groups from LDAP directory
http://pypi.python.org/pypi/pas.plugins.ldap
Other
13 stars 20 forks source link

Connection Test shows wrong state on invalid connection #72

Open pbauer opened 5 years ago

pbauer commented 5 years ago

/plone_ldapcontrolpanel shows OK: Connection, users- and groups-access tested successfully. even though the connection is not ok. In the screenshot below the url is intentionally wrong:

pas

The log even has the right message:

2019-05-14 16:02:05 WARNING pas.plugins.ldap LDAPError in authenticateCredentials -> {u'info': 'Resource temporarily unavailable', 'errno': 11, 'desc': u"Can't contact LDAP server"}