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

Re: New service in pam.conf requires user to be in /etc/passwd

 
RedPrairie Support
New Member

New service in pam.conf requires user to be in /etc/passwd

I have a C application running in a HPUX telnet session. I want the application to authenticate logins via a PAM LIBPAM_NTLM call to a windows password server.

I can get the password authentication to work but only if the user_id is listed in the /etc/passwd file. If the user_id is not in the passwd file then I see the following in the syslog.log:

Name: JWILXX not found in passwd database
pam_authenticate: error No account present for user

The service is called RedP and I have added the following entries into the pam.conf file:

# Red Prairie Additions
redp auth sufficient libpam_ntlm.so.1 use_first_pass debug
redp account sufficient libpam_ntlm.so.1 debug
redp session sufficient libpam_ntlm.so.1 debug

Anyone know how to eliminate the need for the USER_ID to be in the passwd file?
2 REPLIES 2
Sameer_Nirmal
Honored Contributor

Re: New service in pam.conf requires user to be in /etc/passwd

Have you installed the CIFS client on the server?

The CIFS client software is required to make the authentication work from Windows password server as PAM NTLM modules are being used.

Take a look at the CIFS client configuration at
http://docs.hp.com/en/B8724-90044/index.html
Steven E. Protter
Exalted Contributor

Re: New service in pam.conf requires user to be in /etc/passwd

Shalom,

I suspect the integration of this server into the windows domain is incomplete, because lots of folks are doing this.

http://docs.hp.com/en/J4269-90017/ch02s05.html

This document covers the overall process including what you need to accomplish.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com