HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pam and nsswitch for authentification
Operating System - HP-UX
1832423
Members
3202
Online
110042
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
12-11-2003 10:03 PM
12-11-2003 10:03 PM
pam and nsswitch for authentification
Hi,
I have an unclear understanding on how pam and nsswitch are used.
When do we authenticate using nsswitch, when do we use PAM?
Does my question even make sence? Maybe we use both?
Does pam_unix always refer to nsswitch?
I'm reading ldapux client docs and information are quite confusing.
If I authenticate through nsswitch, the user-given-passwd if uncrypted and compare to the one from the database. As a result the password much be kept in crypt format in the database (ldap).
If I authenticate through PAM with pam_ldap, the password is send clear to the directory server. This way I can have the password stored in another format. But in this case, nsswitch-ldap-authentification will not be able to check the password.
So I thought I wanted to setup nsswitch.conf to search ldap, for everything but the passwd database...
Do you think this will be a problem for some application?
Also, what confuses me, is that in some diagram, where you can see how authentification works, you have a direct link between the login process and the nss library...
Help will be very welcomed!!!!
Sundance
I have an unclear understanding on how pam and nsswitch are used.
When do we authenticate using nsswitch, when do we use PAM?
Does my question even make sence? Maybe we use both?
Does pam_unix always refer to nsswitch?
I'm reading ldapux client docs and information are quite confusing.
If I authenticate through nsswitch, the user-given-passwd if uncrypted and compare to the one from the database. As a result the password much be kept in crypt format in the database (ldap).
If I authenticate through PAM with pam_ldap, the password is send clear to the directory server. This way I can have the password stored in another format. But in this case, nsswitch-ldap-authentification will not be able to check the password.
So I thought I wanted to setup nsswitch.conf to search ldap, for everything but the passwd database...
Do you think this will be a problem for some application?
Also, what confuses me, is that in some diagram, where you can see how authentification works, you have a direct link between the login process and the nss library...
Help will be very welcomed!!!!
Sundance
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 10:23 PM
12-11-2003 10:23 PM
Re: pam and nsswitch for authentification
Hi Sundance
I am working on exactly what you are trying to do.
Please refer to following thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=296768
I will recommend you following links:
http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/ch-pam.html
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/internet/uxint.html&searchterms=ldap&queryid=20011004-191951
thanks
vijay
I am working on exactly what you are trying to do.
Please refer to following thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=296768
I will recommend you following links:
http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/ch-pam.html
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/internet/uxint.html&searchterms=ldap&queryid=20011004-191951
thanks
vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 10:29 PM
12-11-2003 10:29 PM
Re: pam and nsswitch for authentification
btw, here is how it works!!!
/etc/pam.conf (/etc/pam.d/system-auth for Linux) is the PAM configuration file for HP-UX. You may need to read the Redhat Manual about how PAM works at this point.
You are also required to use /etc/nsswitch.conf to show users, groups and passwords databases.
And finally you need /etc/ldap.conf (Part of NSS_LDAP software from PADL.COM)
Hope this helps.
I am sorry but I am not sure about LDAP/UX. Both PAM_LDAP and NSS_LDAP would be enough for LDAP/Active Directory authentication, i hope.
Thanks
Vijay
/etc/pam.conf (/etc/pam.d/system-auth for Linux) is the PAM configuration file for HP-UX. You may need to read the Redhat Manual about how PAM works at this point.
You are also required to use /etc/nsswitch.conf to show users, groups and passwords databases.
And finally you need /etc/ldap.conf (Part of NSS_LDAP software from PADL.COM)
Hope this helps.
I am sorry but I am not sure about LDAP/UX. Both PAM_LDAP and NSS_LDAP would be enough for LDAP/Active Directory authentication, i hope.
Thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP