[web2py] Re: Groups and Roles using LDAP

2011-03-13 Thread mart
Last time I worked on windows at this level was... ok, a while back (i think we had NT 3.5 (or was it called something other than NT? - can't remember)). Anyways, I would guess with pretty fair odds that using LDAP probably requires that the logged-on user has sufficient rights and privileges to a

[web2py] Re: Groups and Roles using LDAP

2011-03-13 Thread Nont
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 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 (microsof

[web2py] Re: Groups and Roles using LDAP

2011-03-10 Thread Massimo Di Pierro
to use ldap login with MS Active Directory:: from gluon.contrib.login_methods.ldap_auth import ldap_auth auth.settings.login_methods.append(ldap_auth( mode='ad', server='my.domain.controller', base_dn='ou=Users,dc=domain,dc=com')) to use ldap login with Notes Domin