LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-20-2011, 04:35 PM   #1
Rike255
LQ Newbie
 
Registered: Apr 2011
Distribution: Red Hat
Posts: 17

Rep: Reputation: 0
LDAP logins (and other operations) have long timeouts if DS is down


In my environment I have two Red Hat directory Servers running . On the RH client side in ldap.conf I configure both of them to be ldap servers.

If the first RHDS listed in /etc/ldap.conf is down for whatever reason, then my client will try to connect to it, wait until the timeout, and then go to use DS_B. The result is a long delay before any operations complete (login, user lookup through id or even ls -l of directories/files with ldap owners).

If my directory servers are unavailable (the primary and especially both), lookup operations and login of LOCAL users takes a very long time.

This happens even though I have files listed first for everything in /etc/nsswitch.conf and pam_unix.so listed before pam_ldap.so everywhere in /etc/pam.d/system-auth

Is there some configuration I'm missing somewhere to make sure that local files are always checked first and if a user is found it stops looking?

nscd (client information caching) is running and works, but that only helps if the user information was recently refreshed (10 minutes is the default I think).

Thanks,
Ryan
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problems with ldap logins inelken Linux - Server 4 05-27-2011 03:03 AM
local user login takes very long time if ldap server not available guna_pmk Linux - Server 2 03-18-2011 09:26 AM
Proftpd logins and timeouts cshelswell Linux - Server 5 05-05-2009 09:15 AM
Configuring Incorrect Logins (Timeouts, Lockout Policies) as400 Solaris / OpenSolaris 15 12-12-2007 11:36 PM
Long timeouts - what is it good for? jlinkels Linux - Software 4 08-15-2007 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration