Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2008, 12:53 PM   #1
LQ Newbie
Registered: Jan 2008
Location: Florida US
Distribution: Fedora8, Ubuntu
Posts: 18

Rep: Reputation: 0
Undo LDAP Authentication?

Hello -

I hope I can explain this correctly. I have a LAMP server (with MediaWiki) that was working until I ruined it.

I wanted MW to authenticate via LDAP, but my problem is a little more.

The eth0 is disabled at boot, and I must manually enable eth0 each time I reboot. (I thought it a minor inconvenience, and I would figure out a fix for that later...)

For ldap, I followed the directions here:
to enable ldap authentication from a remote server. The last direction was to reboot to enable ldap. Which I did. (How dumb!)

The problem that resulted: authenticate using the network, but no working network connection.

The GUI doesn't fully load, though I can get a terminal window and log in.
There are two error messages:

Error starting GNOME Settings Daemon.
Somethings such as themes, sounds or background settings may not work correctly. Last error message was:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

The applet nm-applet has crashed
ifconfig eth0 returns

Link encap: Ethernet HWaddr 00:08:02040:7E:7D
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RXbytes:0 (0.0 b) TX bytes:0 (0.0 b)

What is the location of the file for enabling eth0 ?
And /Or how can I disable ldap authentication?

Am I heading in the right direction to repair?

Thank you!

Old 03-19-2008, 01:21 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
How about you supply information about the distro you did this with?

Old 03-19-2008, 01:51 PM   #3
LQ Newbie
Registered: Jan 2008
Location: Florida US
Distribution: Fedora8, Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks, Tink -

Fedora 8

Old 03-19-2008, 02:51 PM   #4
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
The config files for your ethernet adapters eth*, by default in Fedora, are located at /etc/sysconfig/network-scripts/

The files are named ifcfg-eth*

In order to have your eth0 interface enabled at boot, you will need to edit the ONBOOT line in your ifcfg-eth0 file. It will need to look like this:


Save the changes and restart the machine.
Old 03-19-2008, 03:15 PM   #5
LQ Newbie
Registered: Jan 2008
Location: Florida US
Distribution: Fedora8, Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you -

I went to the ifcfg-eth0 file as you said.


was already in the file. Hmmm..

I looked in /var/log/messages

and saw repeated many times over a period of several minutes

dbus-daemon :nss_ldap :reconnecting to LDAP server
dbus-daemon :nss_ldap :failed to bind to LDAP server ldap:// Can't connect to LDAP server

where is our network's (fully working) ldap server.

I would just like to cancel the ldap authentication within the terminal window, and go back to local authentication, I think.

Old 03-19-2008, 04:16 PM   #6
LQ Newbie
Registered: Jan 2008
Location: Florida US
Distribution: Fedora8, Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Undo LDAP Authentication- Success!

Success with disabling ldap!

The log files and the lines for nss_ldap connection failed
sent me to the site.

I used the command
# authconfig --disableldapauth -- update
# authconfig --disableldap --update

I rebooted, and my machine booted normally!

I still have to look into the NetworkManager Applet, but that will be in a different thread.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ldap authentication help ... sir-lancealot Linux - Server 2 10-11-2007 05:00 PM
help in LDAP authentication chickenjoy Linux - Server 3 06-14-2007 06:28 AM
LDAP Authentication and su da_kidd_er Linux - Networking 1 12-27-2005 12:24 PM
Ldap Authentication joeyBig Programming 1 08-25-2004 11:00 AM
ldap authentication box_l Mandriva 0 03-22-2004 04:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:53 PM.

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