Operating System - HP-UX
1834254 Members
2106 Online
110066 Solutions
New Discussion

Re: LDAP + PASSWD ( double authentication ) ??

 
SOLVED
Go to solution
tarhouni
Advisor

LDAP + PASSWD ( double authentication ) ??

Hi,

Would it be possible to add an LDAP authentication to my existing "/etc/Passwd" Auth.
I absolutely need both of them. If yes , how to configure that kind of authentication method ?

Thanks for your help ! I'm really stuck with this.
2 REPLIES 2
Ivan Krastev
Honored Contributor
Solution

Re: LDAP + PASSWD ( double authentication ) ??

Try to change pam.conf - http://docs.hp.com/en/B2355-60130/pam.conf.4.html

Add one of the logins (LDAP) as 'requisite' and after that next (passwd) as 'required'.

If your LDAP is not configured first use 'sufficient', instead of 'requisite'.

regards,
ivan
tarhouni
Advisor

Re: LDAP + PASSWD ( double authentication ) ??

Hi,
thanks for your answer .
I tried what you said and the password for one user was asked two time :
"password :"
"LDAP password :"
But I think that it's impossible to log a specific user on LDAP and immediately after to log another one on /etc/passwd ( + account info).PAM Logging Commands like "su" "login" ... only engage an auth process for a unique user. But i learnt a lot.
Thanks