Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-26-2016, 08:20 PM   #1
LQ Newbie
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
authconfig-gtk ldap config help required

I am trying to connect to this ldap server:

These are the following steps I undertook, however, am unable to login to most of the users.

1. Installed "nss-pam-ldapd" "openldap-clients"
2. opened authconfig-gtk
3. dc=example,dc=com and ldap://

At this point, I typed getent passwd and had two users in my file: tesla and test.

Why did these accounts show up now? Why didn't the other accounts show up (einstein, etc)

config screenshots

ldapsearch -x shows the following (

Does this mean I am connected to the ldap server? I see no user accounts when I type getent passwd. In other scenarios, I just type su - username and I'm able to log in as a user.

In this case, do I need to navigate to a specific OU?

Last edited by and1_hotsauce; 04-26-2016 at 09:23 PM.
Old 04-27-2016, 01:34 PM   #2
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 295
Blog Entries: 3

Rep: Reputation: Disabled
What does
id <username>

Post output of the following commands:
cat /etc/pam.d/system-auth
cat /etc/nsswitch.conf
cat /etc/issue
uname -a
cat /etc/redhat-release
iptables -L

From what you posted on your image, you don't have the cn configured - Bind DN: cn=read-only-admin,dc=example,dc=com

Also, from the output, it appears you did cat /etc/passwd and input the two users. If this is the case, LDAP doesn't use the /etc/passwd file for authentication. If /etc/nsswitch.conf is configured properly, lookups are done against the LDAP database.


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
config ldap client for slave ldap neverland Linux - Server 9 04-09-2010 04:32 AM
cannot find gtk-config on ubuntu9.04 after installing GTK Randyqiu Programming 2 11-17-2009 09:58 PM
authconfig Equivalent for Solaris 10 (for LDAP client) custangro Solaris / OpenSolaris 2 10-07-2009 10:31 AM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM > Forums > Linux Forums > Linux - Newbie

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