I am not sure but I think so.

Whatever username:password you use to login into your machine should
now work in admin and apps. In admin you need to specify the username
a priori.

On Feb 16, 11:55 pm, Anand Vaidya <anandvaidya...@gmail.com> wrote:
> Awesome!
>
> So does that imply LDAP, AD, NIS/YP, /etc/passwd , etc etc all become
> available?
>
> Does it mean, if say, AD auth works on the host machine, it will work
> for web2py too? In such a case, additional inputs such as domain_name
> need to passed
>
> Regards
> Anand
>
> On Feb 17, 1:24 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > web2py in trunk now support PAM authentication on Linux systems in two
> > ways
>
> > 1) In admin.
>
> >    web2py.py -a '<pam_user:root>'
>
> > now admin will require your 'root' password. You can specify other
> > users.
>
> > 2) In apps
>
> >     from gluon.contrib.login_methods.pam_auth import
> > pam_auth
> >     auth.settings.login_methods.append(pam_auth())
>
> > Your auth_user table must have also a 'username' field since 'email'
> > will not do.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to