Does anyone have an example of configuring an OpenLDAP TLS connection for
authentication?
I've tried:
auth.settings.login_methods.append(ldap_auth(
server='my.ldap.server',
base_dn='ou=users,dc=my,dc=ldap,dc=server',
secure=True,
port=389,
))
...but that fails with "Invalid login" (using a valid, existing OpenLDAP
username/pw).
Removing the "secure=True" gets me a "confidentiality required" back from
the LDAP server.
Removing the "port=389" uses port 636 (as I'd expect); the OpenLDAP+TLS
server is definitely listening on 389.
Thoughts? Suggestions?
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.