- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LDAP authentication
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
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
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
07-22-2010 12:58 AM
07-22-2010 12:58 AM
LDAP authentication
Please can someone help me with how to configure two servers for PAM_LDAP. The configuration works perfectly well with one server but I need to include another LDAP server so that authentication can be done from either one.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 02:15 AM
07-22-2010 02:15 AM
Re: LDAP authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 10:51 PM
07-22-2010 10:51 PM
Re: LDAP authentication
The link does not contain any information about using two servers for PAM_LDAP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2010 05:00 PM
07-23-2010 05:00 PM
Re: LDAP authentication
Using the authconfig TUI (or GUI) is just an exercise in frustration. It can reduce some of the work, but not much.
I'm assuming that you have it working with one authentication LDAP server, and you've set up a "redundant" server that is doing some sort of replication with the primary.
In your /etc/openldap.conf, you should be able to define a second server. Typically it's a failover model, much like a DNS failure. Whatever you do, don't use your DNS servers as your LDAP servers, as you will need to wait for the DNS queries to fail over as well and it will make logins very slow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2010 06:06 AM
07-26-2010 06:06 AM
Re: LDAP authentication
Thanks for the suggestions.
What happen to my configuration using the authoconfig-tui.
I have made the changes to the file /etc/ldap.conf putting the two servers but this did not have any effect whatsoever.
See details below:
Edit /etc/ldap.conf
# Your LDAP server. Must be resolvable without using LDAP.
# Multiple hosts may be specified, each separated by a
# space. How long nss_ldap takes to failover depends on
# whether your LDAP client library supports configurable
# network or connect timeouts (see bind_timelimit).
#host 127.0.0.1
gbahevl234 gblabvl61
Are there any special way of making this entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010 08:33 AM
07-28-2010 08:33 AM
Re: LDAP authentication
URI
Such as:
URI ldap://mynonsslldapserver1:389 ldap://mynonsslldapserver2:389 ldaps://mysslldapserver1:636 ldaps://mysslldapserver2:636
This would give you 2 servers for each of ldap (plain text) and ldaps (over ssl).
Best regards,
Don