On Friday, October 30, 2015 at 1:47:05 PM UTC-4, Jonathan Renon wrote: > > it's not needed by web2py since you are using LDAP as the authentication >> mechanism for any given user > > If I understand well, the authentication bind the user to my ldap server ? > How can I access this established connection in my app ? how can I make a > search request like > *con*.search(basedn, searchScope, searchFilter, searchAttribute) >
The ldap_auth.py module includes a single function, which itself returns a function. Internally, it does establish a connection, but it does not appear to expose the connection object for external use (it closes the connection after doing the authentication). Anthony -- 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.

