HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX NIS login problem while using LDAP passwd
Operating System - HP-UX
1832648
Members
3431
Online
110043
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-01-2008 10:58 PM
12-01-2008 10:58 PM
HP-UX NIS login problem while using LDAP passwd
I have a NIS client on HP-UX 11.11 and the NIS server is on another Linux server.After i configured the NIS sucessfully(ypwhich can return the right value), i found there are some problems with the nis account which using LDAP to manage the password.
Those account can not login to this server(receiving "Access Denied" when login) while some of the users which are created directly on nis server can login. For example:
bash-3.2# ypcat passwd|grep cathy
cathy:LDAP:10259:2230:Name=Han Loli,id=10259,sitecode=CNCHEAB:/home/cathy:/bin/bash
bash-3.2# ypcat passwd|grep ccvobadm
ccvobadm:rtg-jFVsIJKSkHhQ:31000:300:ClearCase Vob Administrator:/home/ccvobadm:/bin/bash
The user cathy can not login while ccvobadm can. is there any body knows why?
Any comments will be highly appreciated. Thank you,
Brs,
Cathy
Those account can not login to this server(receiving "Access Denied" when login) while some of the users which are created directly on nis server can login. For example:
bash-3.2# ypcat passwd|grep cathy
cathy:LDAP:10259:2230:Name=Han Loli,id=10259,sitecode=CNCHEAB:/home/cathy:/bin/bash
bash-3.2# ypcat passwd|grep ccvobadm
ccvobadm:rtg-jFVsIJKSkHhQ:31000:300:ClearCase Vob Administrator:/home/ccvobadm:/bin/bash
The user cathy can not login while ccvobadm can. is there any body knows why?
Any comments will be highly appreciated. Thank you,
Brs,
Cathy
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:45 AM
12-02-2008 10:45 AM
Re: HP-UX NIS login problem while using LDAP passwd
Hi Cathy,
If I had to guess I'd say it's the second field in the "cathy" user entry. If the NIS entry for this user is literally what you've provided and the string "LDAP" is where your encrypted password is supposed to be, then I would expect you not to be able to log in successfully unless your password somehow magically encrypts to the string "LDAP".
I'm confused about why you're mixing NIS and LDAP in this environment. If you're using LDAP to manage users then you should consider configuring the 11.11 system to use LDAP and stop using NIS for user management.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
If I had to guess I'd say it's the second field in the "cathy" user entry. If the NIS entry for this user is literally what you've provided and the string "LDAP" is where your encrypted password is supposed to be, then I would expect you not to be able to log in successfully unless your password somehow magically encrypts to the string "LDAP".
I'm confused about why you're mixing NIS and LDAP in this environment. If you're using LDAP to manage users then you should consider configuring the 11.11 system to use LDAP and stop using NIS for user management.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2008 08:27 AM
12-08-2008 08:27 AM
Re: HP-UX NIS login problem while using LDAP passwd
Hi Dave
Thanks for your reply. Actually, the NIS server/LDAP stuffs are configured by some IT guys in our company and i also don't know why they would do it like this. However, there are also several Linux NIS client configured by them which can pass the authentication sucessfully. How can Linux be sucessful in this way?
Thanks for your reply. Actually, the NIS server/LDAP stuffs are configured by some IT guys in our company and i also don't know why they would do it like this. However, there are also several Linux NIS client configured by them which can pass the authentication sucessfully. How can Linux be sucessful in this way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2008 02:55 PM
12-08-2008 02:55 PM
Re: HP-UX NIS login problem while using LDAP passwd
Hi Cathy,
I think what this comes down to is how your HP-UX system is configured both for name service resolution and for authentication.
Can you provide the passwd entry from the /etc/nsswitch.conf file? That will tell me if LDAP is used for resolving passwd entries or not. The next step would be to look at the PAM configuration to ensure PAMLDAP is being used for authentication.
If LDAP is used for both of those then it shouldn't matter what the NIS map entry looks like because the information would be retrieved from LDAP anyway.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
I think what this comes down to is how your HP-UX system is configured both for name service resolution and for authentication.
Can you provide the passwd entry from the /etc/nsswitch.conf file? That will tell me if LDAP is used for resolving passwd entries or not. The next step would be to look at the PAM configuration to ensure PAMLDAP is being used for authentication.
If LDAP is used for both of those then it shouldn't matter what the NIS map entry looks like because the information would be retrieved from LDAP anyway.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

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