- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pam_ldap for user authentication only
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО11-30-2004 02:27 AM
тАО11-30-2004 02:27 AM
dn: ou=people,ou=intranet,dc=everestsol,dc=com
I do not want to migrate everything to LDAP directory.
Thanks
Bhaskar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 06:39 AM
тАО12-03-2004 06:39 AM
Re: pam_ldap for user authentication only
For example, if you have an NIS entry...
joeuser:x:1234:20:Joe User,bld 6,555-1212:/home/joeuser:/usr/bin/sh
Then as long as you have an entry in the directory that also has "joeuser"...
dn: cn=Joe User,ou=people,ou-intranet,dc=everestsol,dc=com
objectclass: top
objectclass: persono
objectclass: organizationalPerson
objectclass: inetOrgPerson
sn: User
uid: Joe User
userPassword: test1234
cn: Joe User
You should be able to configure LDAP-UX to only use pam_ldap to perform authentication. To do this you would run the /opt/ldapux/config/setup/ Run configuration as normal. But when asked if you would like to do any special configuration, say yes. You'll need to specify a service search descriptor for the passwd service. Instead of (objectclass=posixAccount) you need to specify (uid=*) (assuming the uid attribute contains the account name.)
From there, you be sure you configure /etc/pam.conf to include libpam_ldap (as per the example in /etc/pam.ldap.) You don't need to configure /etc/nsswitch.conf with LDAP.
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 05:45 AM
тАО12-06-2004 05:45 AM
SolutionCreate /etc/opt/ldapux/ldapux_profile.ldif
example:
dn: cn=pam_only_profile,ou=intranet,dc=everestsol,dc=com
objectClass: top
objectClass: duaconfigprofile
cn: pam_only_profile
preferredserverlist: [ldaphostip]
servicesearchdescriptor: passwd:??(&(objectclass=person)(uid=*))
defaultsearchbase: ou=intranet,dc=everestsol,dc=com
authenticationMethod: simple
Execute /opt/ldapux/config/create_profile_cache
Restart ldapclient
/opt/ldapux/bin/ldapclientd -k
/opt/ldapux/bin/ldapclientd
Good luck, and post if you have questions.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2004 02:07 AM
тАО12-07-2004 02:07 AM
Re: pam_ldap for user authentication only
My ldap.conf for Solaris and Linux box is:
host ldap.everestsol.com
base ou=people,ou=intranet,dc=everestsol,dc=com
port 389
pam_login_attribute uid
pam_password crypt
Regards
Bhaskar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2004 02:16 AM
тАО12-07-2004 02:16 AM
Re: pam_ldap for user authentication only
I followed pretty much verbatim the README file included with ldapux.
What is your Directory Server?
I have one issue on 11.23, which is that root can not authenticate now. (new thread starting for that one.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2004 02:36 AM
тАО12-07-2004 02:36 AM
Re: pam_ldap for user authentication only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2004 02:41 AM
тАО12-07-2004 02:41 AM
Re: pam_ldap for user authentication only
Configure the ldapux if you have not done so. Because it is configured, does not mean it's being used.
The entries in /etc/nsswitch.conf for groups and passwd should look like this.
passwd files ldap
group files ldap
All other services should be
service files nis
Is ldapux configured? If so, you are in the home stretch.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2004 05:04 AM
тАО12-07-2004 05:04 AM
Re: pam_ldap for user authentication only
/etc/pam.conf
/etc/nsswitch.conf
/etc/opt/ldapux/ldapclientd.conf
/etc/opt/ldapux/ldapux_client.conf
/etc/opt/ldapux/ldapux_profile.ldif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2004 09:09 AM
тАО12-09-2004 09:09 AM
Re: pam_ldap for user authentication only
I'll request the LDAP-UX team enhance the product to look for the account number from alternate repositories in pam_ldap.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 02:58 AM
тАО12-16-2004 02:58 AM
Re: pam_ldap for user authentication only
Can anybody help me?
Kind Regards,
Markus