nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

LDAP auth problem

This is a discussion on LDAP auth problem within the Linux software forums, part of the Linux Getting Started category; Hi All, I configured a LDAP server on SuSe ES9 and LDAP clients on Suse Prof 9.1 and Redhat ES ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 02-15-2005, 04:03 PM
Junior Member
User
 
Join Date: Feb 2005
Posts: 5
Rep Power: 0
vasanth
Default LDAP auth problem

Hi All,

I configured a LDAP server on SuSe ES9 and LDAP clients on Suse Prof 9.1 and Redhat ES 3.0 for System Authentication. I have two problems,

1) When the LDAP server is down I'm unable to login even with the local user account in the redhat ES 3.0 box.
2) On Suse Prof 9.1 box I removed the configured server from the LDAP client through YAST. After that the login is failing even with local users (including root). When I tried with rescue mode the /etc/passwd file seems to be corrupted.

Are there any solutions for these problems.

Thanks,
Vasanth
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-16-2005, 10:59 AM
Administrator
Site Admin
 
Join Date: Jan 1970
Posts: 43
Rep Power: 10
vivek has disabled reputation
Default

Quote:
1) When the LDAP server is down I'm unable to login even with the local user account in the redhat ES 3.0 box.
One of the dangers of centralizing authentication against an LDAP server is that if the server goes down, everything goes down. To overcome this issue, you can try redundant servers. Many ways exists to do this.

(A) Easy way - You can use round robin based DNS. Let us say you have two servers. Create master LDAP on 192.168.1.10 and Slave on 192.168.1.11 once done that create DNS entries as follows in your DNS server.
192.168.1.10 ldap.nixcraft.com – master ldpa server
192.168.1.11 ldap.nixcraft.com – slave ldap server

MASTER LDAPPlease note that master must have read / write access. And all changes must be done on master only. Master must replicate database to slave server using
Code:
replica host=ldapslave.nixcraft.com:389 
binddn="cn=XXX,dc=XXX,dc=com" 
bindmethod=simple 
credentials=XXX
Replace XXX with actual values
Slave LDAP Server
All slave LDAP servers must be read only. Edit slapd.conf for the slave and add:
Code:
updatedn "cn=XXX,dc=XXX,dc=com" 
readonly on
This is the simple way.

2) Use of High-Availability Linux Project for LDAP, this is more sophisticated way. Read LDAP High-Availability document online at http://linuxjournal.com/article/5505

Quote:
2) On Suse Prof 9.1 box I removed the configured server from the LDAP client through YAST. After that the login is failing even with local users (including root). When I tried with rescue mode the /etc/passwd file seems to be corrupted.
Boot into single user mode and setup new root password. You may need to remove password file. Best way is to get back your ldpa server.

Hope this helps
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Searching Tutorial for setup Postfix SMTP-AUTH satimis Mail Servers 0 01-25-2008 09:10 PM
Problem about squid auth with LDAP hkjack Networking, Firewalls and Security 6 06-15-2007 08:27 AM
LDAP and RADIUS mannrj45 Linux software 1 12-02-2006 09:40 PM
Ldap profile kasimani Linux software 0 10-27-2006 01:13 AM
open ldap autentication problem kasimani Linux software 0 10-15-2006 12:17 AM


All times are GMT +5.5. The time now is 08:53 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36