- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NSS LDAP-UX integration with OpenLDAP
Operating System - HP-UX
1823985
Members
3997
Online
109667
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
05-26-2005 02:18 AM
05-26-2005 02:18 AM
NSS LDAP-UX integration with OpenLDAP
Can't quite seem to get this working.
I've loaded the DUAprofile schema into my openldap server and created a profile for my HPUX clients. After configuring /etc/opt/ldapux/ldapux_client.conf appropriately I can bootstrap my ldapux config with "/opt/ldapux/config -s nss". This part seems to work and I can run pwget or nsquery and see my accounts I created on the LDAP server.
e.g.:
----------------------
> nsquery passwd stephen
Using "files ldap" for the passwd policy.
Searching /etc/passwd for stephen
stephen was NOTFOUND
Switch configuration: Allows fallback
Searching ldap for stephen
User name: stephen
User Id: 1339
Group Id: 15000
Gecos: Test User
Home Directory: /home/stephen
Shell: /bin/sh
Switch configuration: Terminates Search
-------------------------
I've started up the ldapclientd and my /etc/nsswitch.conf has the following entries for passwd and group:
passwd: files ldap
group: files ldap
But here's the problem....
> cd ~stephen
/bin/sh: ~stephen: not found.
> id stephen
Can't find user stephen
I've enabled logging but the only clue so far is:
ldap_common.c:3798:_hp_ldap_common_init(): ldapssl_client_init() failed, result=-1
That's ok, I'm not using SSL (yet).
This works fine for my Linux clients. I've attached a dump of my ldap db in case it's any use.
I've loaded the DUAprofile schema into my openldap server and created a profile for my HPUX clients. After configuring /etc/opt/ldapux/ldapux_client.conf appropriately I can bootstrap my ldapux config with "/opt/ldapux/config -s nss". This part seems to work and I can run pwget or nsquery and see my accounts I created on the LDAP server.
e.g.:
----------------------
> nsquery passwd stephen
Using "files ldap" for the passwd policy.
Searching /etc/passwd for stephen
stephen was NOTFOUND
Switch configuration: Allows fallback
Searching ldap for stephen
User name: stephen
User Id: 1339
Group Id: 15000
Gecos: Test User
Home Directory: /home/stephen
Shell: /bin/sh
Switch configuration: Terminates Search
-------------------------
I've started up the ldapclientd and my /etc/nsswitch.conf has the following entries for passwd and group:
passwd: files ldap
group: files ldap
But here's the problem....
> cd ~stephen
/bin/sh: ~stephen: not found.
> id stephen
Can't find user stephen
I've enabled logging but the only clue so far is:
ldap_common.c:3798:_hp_ldap_common_init(): ldapssl_client_init() failed, result=-1
That's ok, I'm not using SSL (yet).
This works fine for my Linux clients. I've attached a dump of my ldap db in case it's any use.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:40 AM
05-26-2005 04:40 AM
Re: NSS LDAP-UX integration with OpenLDAP
Installed the following patches and rebooted. Problem went away.
PHCO_27064
PHSS_31163
PHCO_28605
PHNE_27796
PHCO_27064
PHSS_31163
PHCO_28605
PHNE_27796
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP