Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th January 2008, 04:56 PM
NoisyHeathen Offline
Registered User
 
Join Date: Jan 2008
Location: Detroit
Age: 39
Posts: 4
Fedora 8 LDAP Login Problem

I'm having a login problem on all my Fedora 8 machines. I have about 6 - 8 machines all doing the same thing and a bunch of older distros (mostly 5 and 6) and a bunch of RedHat Enterprise Linux 3, 4 and 5 machines that work fine.

Anyway, the problem is that the first LDAP login after boot hangs. In other words, I boot the box and log in as JoeSmith. JoeSmith will authenticate with the AD server and the screen turns the default KDE blank blue background that you typically get right before the KDE login status app (with the flashing icons as it tells you what piece is currently loading) comes up. It hangs right there. You never see that status app. I'm forced to do a Ctrl-Alt-F1, log in as root, and kill the /usr/bin/X process. Fedora then automatically restarts gdm and on the next login attempt, all is fine. I have all my Linux machines configured to use a Windows Active Directory server for network logins. The home directories are auto-mounted to an NFS share on another Windows server running Services for Unix. As I mentioned, the older distros and the RHEL machines are working fine and the Fedora 8 machines work fine after you get past that initial glitch.

Can anyone give any suggestions? This could prove to be very annoying at best or quite problematic at worst.
Reply With Quote
  #2  
Old 9th January 2008, 06:13 PM
hellork's Avatar
hellork Offline
Registered User
 
Join Date: Dec 2007
Posts: 244
(is there) Anything interesting in the logs?
__________________
Data, Information Processing, Secure Hosting, and Internet Technology (D.I.P.S.H.I.T.)
Reply With Quote
  #3  
Old 10th January 2008, 08:51 PM
NoisyHeathen Offline
Registered User
 
Join Date: Jan 2008
Location: Detroit
Age: 39
Posts: 4
Nothing as far as I can see. I wonder if there's an update that fixes it, though. My laptop didn't have the problem this morning after I updated yesterday.
Reply With Quote
  #4  
Old 15th February 2008, 10:57 AM
Pierre Albarede Offline
Registered User
 
Join Date: Jul 2007
Posts: 15
We had about the same boot hang problem with Fedora 7, after activating LDAP in Menu System > Administration > Authentication. It seems that Fedora keeps trying to connect, even though it is misconfigured.

At least, we could restore the system with Ctrl-Alt-F1 log in as root ... commenting everything out in /etc/ldap.conf.

The problem may occur also if the LDAP server is down.
Reply With Quote
  #5  
Old 15th February 2008, 02:04 PM
UraniumWilly Offline
Registered User
 
Join Date: Sep 2006
Posts: 5
How to get you machine up

Like previously stated, if LDAP server is unreachable or TLS/SSL settings are wrong, your machine will hang.

The solution is to tell nss_ldap to continue even if it encounters problems. This way, you can still login as root, and fix it.


Edit: /etc/ldap.conf
Change: #bind_policy hard
to: bind_policy soft

Good luck.
Reply With Quote
  #6  
Old 16th February 2008, 02:52 AM
NoisyHeathen Offline
Registered User
 
Join Date: Jan 2008
Location: Detroit
Age: 39
Posts: 4
I ran across a trick on an Ubuntu forum that helps ease the pain I'm still having with this. Ctrl-Alt-Backspace will reset X and bring you back to the login screen. It's far easier than the above-suggested Ctrl-Alt-F1, log in as root trick.

Regarding UraniumWilly's post, I've done that in the past, but I seem to recall there was some undesirable side-effect from setting it that way. I also wonder if there's a better way around it. I was playing around with the PAM configuration the other day, but Fedora always seems to want to authenticate through LDAP whether or not an ID is local.

Also, my LDAP server is on the network and perfectly reachable when this happens. It's just the first login that fails, too. Not the second or any subsequent login. VNC sessions will do the same thing if you connect to an xinetd-launched VNC session first thing after the machine boots.
Reply With Quote
Reply

Tags
fedora, ldap, login, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 11 ldap gui login/logon fails (console login works) skotay Using Fedora 2 12th June 2009 09:04 PM
LDAP Client login problem Gresso Servers & Networking 6 1st May 2009 01:01 PM


Current GMT-time: 03:57 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat