Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- ldap problem
System Administration
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Go to solution
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
- Email to a Friend
- Report Inappropriate Content
01-27-2005 05:13 AM
01-27-2005 05:13 AM
Hi all,
I've an openldap server (say ldap-master) that replicates the db to a slave server (say ldap-slave).
The replication works very well, every change i make on the master take effect also on the slave.
The problem is:
How can i set the ldap client so that if the master is down it makes the authentication queries to the slave??
I tried to put two lines in /etc/openldap/ldap.conf on the client
host IP_master
host IP_slave
but it doesn't work
Suggestions
Thanks
I've an openldap server (say ldap-master) that replicates the db to a slave server (say ldap-slave).
The replication works very well, every change i make on the master take effect also on the slave.
The problem is:
How can i set the ldap client so that if the master is down it makes the authentication queries to the slave??
I tried to put two lines in /etc/openldap/ldap.conf on the client
host IP_master
host IP_slave
but it doesn't work
Suggestions
Thanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-27-2005 09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-27-2005 09:11 PM
05-27-2005 09:11 PM
Re: ldap problem
You should give the list of servers separated by space. if you are using newer version of ldap HOST is deprecated and URI is the replacement for it. i have attached description for both of them for your referrence.
URI
Specifies the URI(s) of an LDAP server(s) to which the LDAP library should connect. The URI scheme may be either ldapor ldaps which refer to LDAP over TCP and LDAP over SSL (TLS) respectively. each server's name can be specified as a domain-style name or an IP address literal. Optionally, the server's name can followed by a ':' and the port number the LDAP server is listening on. If no port number is provided, the default port for the scheme is used (389 for ldap://, 636 for ldaps://). A space separated list of URIs may be provided.
HOST
Used to specify the name(s) of an LDAP server(s) to which ldap library should connect to. Each serverâ s name can be specified as a domain-style name or an IP address and optionally followed a â :â and the port number the ldap server is listening on. A space separated listed of host may be provided.
Rega
URI
Specifies the URI(s) of an LDAP server(s) to which the LDAP library should connect. The URI scheme may be either ldapor ldaps which refer to LDAP over TCP and LDAP over SSL (TLS) respectively. each server's name can be specified as a domain-style name or an IP address literal. Optionally, the server's name can followed by a ':' and the port number the LDAP server is listening on. If no port number is provided, the default port for the scheme is used (389 for ldap://, 636 for ldaps://). A space separated list of URIs may be provided.
HOST
Used to specify the name(s) of an LDAP server(s) to which ldap library should connect to. Each serverâ s name can be specified as a domain-style name or an IP address and optionally followed a â :â and the port number the ldap server is listening on. A space separated listed of host may be provided.
Rega
Never Never Never Giveup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-31-2005 11:03 AM
05-31-2005 11:03 AM
Re: ldap problem
One other method is to use your DNS server and just set the two ldap boxes to a common name like ldap_server and then list both IP addresses
You would end up with three DNS entries
ldap1.company.com 145.x.x.x
ldap2.company.com 145.x.2.x
ldap.company.com ldap1 ldap2
You would end up with three DNS entries
ldap1.company.com 145.x.x.x
ldap2.company.com 145.x.2.x
ldap.company.com ldap1 ldap2
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.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP