On Friday, October 30, 2015 at 2:12:54 PM UTC-4, Richard wrote:
>
> Hello Jonathan,
>
> I think if you want to manage LDAP from web2py as you were requesting you 
> will need much more then ldap_auth.py contrib which as it says it mains 
> purpose is to authenticate user of web2py against LDAP instance...
>
> I guess you better look on the side of python-ldap (
> http://www.python-ldap.org/index.html)
>
> Richard
>
> Hi Richard,
I was already planning to use python-ldap to manage the different searches, 
the thing I can't figure out (and don't know if it is possible actually) is 
how to use the same credentials to log in (in web2py) and serve as a bind 
account (when using python-ldap inside the app to gather info and make it 
displayed by web2py).
>From the different answer to my post it seems like i can't get the password 
saved in the db, and the connection used to authenticate the user is closed 
after successful authentication. The only solution I can think of then is 
to prompt again the username and password of the user to use it as binding 
account, this imply that I have to securely store this data and it makes 
ldap authentication "useless" for me (since the point of this 
authentication was to gather those information).

Is there a solution I'm missing for my problem ?  

-- 
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.

Reply via email to