LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-26-2016, 08:20 PM   #1
and1_hotsauce
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:
http://www.forumsys.com/en/tutorials...p-test-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://ldap.forumsys.com

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
http://imgur.com/rpHBKnx


ldapsearch -x shows the following (http://imgur.com/MKwvAqW)

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
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302
Blog Entries: 4

Rep: Reputation: Disabled
What does
Quote:
id <username>
yield?

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
getenforce
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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