Operating System - HP-UX
1847405 Members
2750 Online
110264 Solutions
New Discussion

pam ntlm: no account present for user

 
Donald Kok
Respected Contributor

pam ntlm: no account present for user

cannot athenticate trough ntlm. pam.conf:

login auth sufficient /usr/lib/security/libpam_ntlm.1 debug
login auth required /usr/lib/security/libpam_unix.1 use_first_pass
su auth required /usr/lib/security/libpam_unix.1
dtlogin auth sufficient /usr/lib/security/libpam_ntlm.1 debug
dtlogin auth required /usr/lib/security/libpam_unix.1 use_first_pass
dtaction auth required /usr/lib/security/libpam_unix.1
ftp auth required /usr/lib/security/libpam_unix.1
OTHER auth sufficient /usr/lib/security/libpam_ntlm.1 debug
OTHER auth required /usr/lib/security/libpam_unix.1 use_first_pass


The debug logging:

Jun 26 07:49:57 fl_hp53 PAM: pam_set_item(5)
Jun 26 07:49:57 fl_hp53 PAM: pam_set_item(3)
Jun 26 07:49:58 fl_hp53 PAM: pam_set_item(4)
Jun 26 07:49:58 fl_hp53 PAM: pam_set_item(8)
Jun 26 07:49:58 fl_hp53 PAM: pam_authenticate()
Jun 26 07:49:58 fl_hp53 PAM: load_modules: /usr/lib/security/libpam_ntlm.1
Jun 26 07:49:58 fl_hp53 PAM: pam_set_item(2)
Jun 26 12:49:58 fl_hp53 above message repeats 3 times
Jun 26 07:49:58 fl_hp53 PAM: load_function: successful load of pam_sm_authenticate
Jun 26 07:49:58 fl_hp53 PAM: pam_set_item(8)
Jun 26 07:49:58 fl_hp53 PAM: load_modules: /usr/lib/security/libpam_unix.1
Jun 26 07:49:58 fl_hp53 PAM: Entering ntlm pam_sm_authenticate: flags 0
Jun 26 07:49:58 fl_hp53 PAM: pam_get_username(ux)
Jun 26 07:49:58 fl_hp53 PAM: pam_mapping_in_use()
Jun 26 07:49:58 fl_hp53 PAM: load_function: successful load of pam_sm_authenticate
Jun 26 07:49:58 fl_hp53 PAM: ntlm pam_sm_authenticate(login, dkorf), flags = 0
Jun 26 07:50:01 fl_hp53 PAM: pam_set_item(6)
Jun 26 07:50:02 fl_hp53 PAM: ntlm authenticate failed!
Jun 26 07:50:02 fl_hp53 PAM: ntlm_pam_authenticate: returning FAILURE
Jun 26 07:50:02 fl_hp53 PAM: pam_authenticate: error No account present for user
Jun 26 07:50:02 fl_hp53 PAM: pam_get_username(ux)
Jun 26 07:50:02 fl_hp53 PAM: pam_mapping_in_use()
Jun 26 07:50:03 fl_hp53 PAM: pam_authenticate: error Authentication failed
Jun 26 07:50:03 fl_hp53 PAM: pam_set_item(6)
Jun 26 07:50:03 fl_hp53 PAM: LOGIN: pam_authenticate error
Jun 26 07:50:03 fl_hp53 PAM: pam_acct_mgmt()
Jun 26 07:50:03 fl_hp53 PAM: load_modules: /usr/lib/security/libpam_unix.1
Jun 26 07:50:03 fl_hp53 PAM: load_function: successful load of pam_sm_acct_mgmt
Jun 26 07:50:03 fl_hp53 PAM: pam_get_username(ux)
Jun 26 07:50:03 fl_hp53 PAM: pam_mapping_in_use()

Who can help me, please?
My systems are 100% Murphy Compliant. Guaranteed!!!
3 REPLIES 3
Tom Geudens
Honored Contributor

Re: pam ntlm: no account present for user

Hi,
The following post may help (similar problem) :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x497237f45ef7d4118fef0090279cd0f9,00.html

Hope it helps,
Tom
A life ? Cool ! Where can I download one of those from ?
Donald Kok
Respected Contributor

Re: pam ntlm: no account present for user

Isn't there any satisfacory NTLM user who can give a hint, please?
My systems are 100% Murphy Compliant. Guaranteed!!!
Donald Kok
Respected Contributor

Re: pam ntlm: no account present for user

Hi to those interrested:

The solution to this problem lays in th smb.conf file from the cifsclient. In the passwd server and winsserver fields, you should use the netbios names and NOT IP-adresses. Thats it.
I found the solution in this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x440c6049dbb6d611abdb0090277a778c,00.html
My systems are 100% Murphy Compliant. Guaranteed!!!