- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ldap problem
Operating System - Linux
1748110
Members
4009
Online
108758
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- 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
- Report Inappropriate Content
тАО05-27-2005 09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- 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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP