LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2015, 06:08 PM   #1
wheel2068
LQ Newbie
 
Registered: Feb 2015
Posts: 7

Rep: Reputation: Disabled
Configuring OPENLDAP client RHEL 6.4 for authentication


My machine name is client
the dns suffix is testing.com
the basedn for the openldap server is dc=test,dc=com
the admin for the openldap is cn=admin,dc=test,dc=com

I am configuring a RHEL6.4 openldap client to authencitate to a UBUNTU 14.04 openldap server. I installed the following packages:
openldap-clients nss-pam-ldapd openldap

I ran the authconfig to configure the access:
authconfig --enableldap \
--enableldapauth \
--ldapserver=client.testing.com \
--ldapbasedn="dc=test,dc=com" \
--enablemkhomedir \
--update

It ran with no errors. But the RHEL machine will not authenticate through the ldap.

i ran the getent passwd command which is supposed to show all users(openldap users, and local users) but it only showed the local users.

i ran the following command:

ldapsearch -x -W -D "cn=admin,dc=test,dc=com" -b "dc=test,dc=com" "(objectclass=*)"

And that brought up all the users i have on the Ubuntu 14.04 openldap server.

Is there something that i am missing? or did i do something wrong?

Last edited by wheel2068; 12-10-2015 at 06:15 PM.
 
Old 12-10-2015, 07:28 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
please see the other post you posted on this
 
  


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
RHEL 6.4 Openldap client wheel2068 Linux - Software 4 12-10-2015 06:16 PM
Red Hat 6.2 Openldap client configuration for AD authentication ter4913 Linux - Newbie 2 05-20-2013 11:34 PM
openldap client authentication without TLS certificate. shiden Linux - Server 11 07-31-2012 07:30 AM
OpenLDAP and Samba for authentication client computers. gardenair Linux - Server 5 03-18-2012 09:47 PM
configuring openldap server on rhel 5.0 cvdsamy Linux - Enterprise 1 02-13-2010 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:57 AM.

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