It was not a problem of web2py. Actually those users ID's were < 1000 so pam was just ignoring them.
On Monday, April 8, 2013 9:35:27 PM UTC+5:30, Massimo Di Pierro wrote: > > I have no idea but I would sugget adding some debug statements in > ldap_auth.py and see why it fails for some users. There are many > configuration options in ldap therefore it probably is a settings issue. > > Can you try authenticate them from python-ldap from python shell? > > Can you try identify what is in common among those who cannot login? > > Massimo > > On Sunday, 7 April 2013 05:25:12 UTC-5, Apoorve Mohan wrote: >> >> Hi All >> >> I am using PAM to login into my website. I have configured my system PAM >> with LDAP and KERBEROS. >> >> Now the problem I am facing is that not all my users are able to login >> using that service. >> I also checked my KERBEROS setting using KINIT command and I was able to >> successfully authenticate all the users. >> >> I am unable to figure it out that why the application is showing such a >> behavior and I am stuck at this point. >> I'll really appreciate any help on this. >> >> -- >> Thanks and Regards >> >> Apoorve >> > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.