Operating System - HP-UX
1833780 Members
2591 Online
110063 Solutions
New Discussion

PAM: libpam_ntlm to authenticate on a NT domain

 
news groups
Occasional Advisor

PAM: libpam_ntlm to authenticate on a NT domain

Hi all,
HP recently created a porting of Samba to the HP-UX architecture known as CIFSClient.
It installs also libpam_ntlm.1 PAM module to enable authentication to a Windows NT domain.

I inserted the following conf lines in /etc/pam.conf:
login auth sufficient /usr/lib/security/libpam_ntlm.1
login auth required /usr/lib/security/libpam_unix.1
ftp auth sufficient /usr/lib/security/libpam_ntlm.1
ftp auth required /usr/lib/security/libpam_unix.1 in order to authenticate also with normal Unix password.

FTP works very well: I can login if I enter Unix or NT password.

Login doesn't work well: if I enter NT password, I login immediately; if I enter Unix password, I see an additional prompt:

login: root
Password:
System Password:
and I need to re-enter the same Unix password.

I installed last libpam patch PHCO_20334.

Thanks for any help.
2 REPLIES 2
Eric Buckner
Regular Advisor

Re: PAM: libpam_ntlm to authenticate on a NT domain

Try the following....


login auth sufficient /usr/lib/security/libpam_ntlm.1
login auth required /usr/lib/security/libpam_unix.1 use_first_pass
ftp auth sufficient /usr/lib/security/libpam_ntlm.1
ftp auth required /usr/lib/security/libpam_unix.1 use_first_pass

This is telling the libpam_unix to use the first password sent to pam and not prompt for another
Time is not a test of the truth.
Sanjay_6
Honored Contributor

Re: PAM: libpam_ntlm to authenticate on a NT domain