[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with PAM and LDAP



On Thu, 23 Aug 2001 12:22, Jørgen Hermanrud Fjeld wrote:
> On Wednesday 22. August 2001 18:14, Russell Coker wrote:
> ......[Deleted]..............
>
> > Also as a further complication, I want to have pam_unix.so listed before
> > pam_ldap.so so that if there is a network problem causing LDAP timeouts I
> > can still login as root.
>
> you can use the
> ... pam_unix_auth.so try_first_pass
>
> So if LDAP fails, you wait a while, then log in with ldap

Unless "a while" happens to be longer than the login program is prepared to 
wait, in which case it is impossible to login and you have to boot from 
rescue disks or do something equally nasty.  Been there, done that.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: