as far as I know, ldap_auth is not support to do this. please take a look at web2py/gluon/contrib/login_methods/ldap_auth.py
On Mar 11, 5:55 am, Ialejandro <ialejandr...@gmail.com> wrote: > Hi! I have this question, how could I use LDAP auth and use roles. So > I need to take the users from an active directory (microsoft exchange) > and they must have a role. > > How could I do that?? I need 2 basic roles, Boss, User (boss can > create, delete) and have access to every controller in the app, while > user just can acces to some pages. Is it possible??