LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-23-2011, 09:30 AM   #1
kongfranon
Member
 
Registered: Aug 2010
Posts: 30

Rep: Reputation: 0
Removing ldap


I had a machine that is using ldap, but need to remove it completely.

I edited the /etc/nsswitch.conf and removed all references of ldap

and renamed /etc/ldap.conf to /etc/ldap.conf.bak

I can log in as root, but cannot log in as any user in /etc/passwd

In the /var/log it shows pam_ldap: missing file "/etc/ldap.conf"

I am guessing I am missing something else?

I never set this machine up for ldap, was here when i got here, so not sure of steps to even put ldap on.

Thanks
 
Old 05-23-2011, 10:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
nsswitch if for user info, actually finding out about users, but the authentication is done by pam, usually configured by the /etc/pam.d/system-auth-ac file on redhat derived systems. you can also clean up extra odds and sods with authconfig-tui as opposed to manually hacking about with files.
 
1 members found this post helpful.
Old 05-23-2011, 11:15 AM   #3
kongfranon
Member
 
Registered: Aug 2010
Posts: 30

Original Poster
Rep: Reputation: 0
Thank you i ran authconfig, forgot all about that
 
  


Reply


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
manually removing the .vdi files left over after removing VirtualBox adityavpratap Linux - General 2 10-24-2010 01:04 PM
Removing Defunct processes without restarting or removing parent process. nikolaibelkin Linux - Newbie 1 02-26-2009 10:10 AM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 09:22 AM
LXer: LDAP Series Part IV - Installing OpenLDAP on Debian Plus Some LDAP Commentary LXer Syndicated Linux News 0 10-31-2006 07:54 PM
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:56 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