HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS (yp) w/ PAM and CIFs
Operating System - HP-UX
1825787
Members
2373
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2001 01:52 PM
09-15-2001 01:52 PM
NIS (yp) w/ PAM and CIFs
Hi HPUX gurus,
I'm setting up an NIS network with HP workstations that all have unames similar to this:
HP-UX hp1 B.11.00 A 9000/785 2009466367 two-user license
Each also has the CIFS/9000 Bundle installed as shown in swlist:
B8724AA A.01.02 CIFS/9000 Client Lic. for 9000 Wkst.
We use a PDC to authenticate UNIX users, so /etc/passwd entries contain a "*" in the passwd section. I'm trying to setup an NIS network and the problem is that the CIFS PAM module doesn't seem to be able to find a users passwd entry unless it's in /etc/passwd. I think I have everything setup correctly.
"ypcat passwd" shows the correct thing.
The nsswitch.conf line is this:
passwd: files nis
And I can verify this is working with a little test using getpwnam().
The /etc/pam.conf looks like this:
# PAM configuration
#
# Authentication management
#
OTHER auth sufficient /usr/lib/security/libpam_ntlm.1 debug
OTHER auth required /usr/lib/security/libpam_unix.1 try_first_pass
#
# Account management
#
OTHER account required /usr/lib/security/libpam_unix.1
#
# Session management
#
OTHER session required /usr/lib/security/libpam_unix.1
#
# Password management
#
OTHER password required /usr/lib/security/libpam_ntlm.1
OTHER password optional /usr/lib/security/libpam_unix.1 try_first_pass
My best guess is that libpam_ntlm is somehow doing the wrong thing. I would have thought that using NIS to get to get usernames, uids and the like would be transparent to any PAM module. Shouldn't it?
Our systems are setup to allow password login using remsh, but when I try to remsh into a machine where the username only has an entry in NIS, it asks for a password, then a system password, then it fails.
Anyway, I'm really grasping at straws here and I would appreciate any info that anybody has.
Thanks,
Jeff
(jsolomon@vlsi.stanford.edu)
I'm setting up an NIS network with HP workstations that all have unames similar to this:
HP-UX hp1 B.11.00 A 9000/785 2009466367 two-user license
Each also has the CIFS/9000 Bundle installed as shown in swlist:
B8724AA A.01.02 CIFS/9000 Client Lic. for 9000 Wkst.
We use a PDC to authenticate UNIX users, so /etc/passwd entries contain a "*" in the passwd section. I'm trying to setup an NIS network and the problem is that the CIFS PAM module doesn't seem to be able to find a users passwd entry unless it's in /etc/passwd. I think I have everything setup correctly.
"ypcat passwd" shows the correct thing.
The nsswitch.conf line is this:
passwd: files nis
And I can verify this is working with a little test using getpwnam().
The /etc/pam.conf looks like this:
# PAM configuration
#
# Authentication management
#
OTHER auth sufficient /usr/lib/security/libpam_ntlm.1 debug
OTHER auth required /usr/lib/security/libpam_unix.1 try_first_pass
#
# Account management
#
OTHER account required /usr/lib/security/libpam_unix.1
#
# Session management
#
OTHER session required /usr/lib/security/libpam_unix.1
#
# Password management
#
OTHER password required /usr/lib/security/libpam_ntlm.1
OTHER password optional /usr/lib/security/libpam_unix.1 try_first_pass
My best guess is that libpam_ntlm is somehow doing the wrong thing. I would have thought that using NIS to get to get usernames, uids and the like would be transparent to any PAM module. Shouldn't it?
Our systems are setup to allow password login using remsh, but when I try to remsh into a machine where the username only has an entry in NIS, it asks for a password, then a system password, then it fails.
Anyway, I'm really grasping at straws here and I would appreciate any info that anybody has.
Thanks,
Jeff
(jsolomon@vlsi.stanford.edu)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP