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 - 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 03-21-2012, 08:08 AM   #1
moazrefat
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
rhel 6 ldap client configration


hello first of all i would like to greet your hard work all of the members , then i have question

how can i configure rhel 6 to be ldap client without using the tls , asl i did and even i can see the info of the users that are on the server using the following command

ldapsearch -x uid=username

i can see the information , but when i'm tryin to su - username that are on the ldap server , it replies with "su: user mrefat does not exist"

note i changed the information that are in the nsswitch.confg to use the files then ldap
so please anyone can help me to login ,

asl when i tested to configure rhel 5 with the same information . it is working fine without any problems ,

your fast replies are highly appreciated .


thanks in advance .
 
Old 03-21-2012, 08:12 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Did you join the RHEL system to the domain? Did you change the authentication mechanism from local to LDAP or kerberos or network whatever option is available? I guess there is a graphical utility to manage it : system-config-authentication
 
Old 03-21-2012, 08:24 AM   #3
moazrefat
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
yes i used this utility system-config-authentication it ask about using tls , and i dont have certificates so i used form the command like authconfig-tui , it do the same task ... so regards to the first part of your comment what can i doo ???? to change this settings , i'm also followed this tutorial http://server-world.info/en/note?os=CentOS_6&p=ldap&f=2

and how can i joined it to the domain ?????

please can u help me
 
Old 03-21-2012, 08:53 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Can you login using the LDAP credentials?
 
Old 03-21-2012, 09:01 AM   #5
moazrefat
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
i can't login with ldap users
 
Old 03-21-2012, 09:17 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Have you tried contacting RH for the support? If you are using RHEL you should be able to use their support.
I would say if your configuration is fine, it should work. I dont have much experience with LDAP. All I have ever used is authenticating users in windows active directory using kerberos and samba and it works fine. But I think you need to change the nsswitch.conf file to change the authentication mechanism priority. I had issues with authentication when I had not changed nsswitch.conf
 
Old 03-21-2012, 09:18 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
yours is a technical question and can be moved in some technical forum like newbie. I have reported it to be moved to appropriate forum so that you get better solutions from someone more experienced in LDAP.
 
Old 03-25-2012, 04:48 AM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Linux-Server and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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
[SOLVED] LDAP -how to disable ldap auth from client side unibox Linux - Server 3 02-07-2012 06:43 AM
config ldap client for slave ldap neverland Linux - Server 9 04-09-2010 04:32 AM
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 12:55 AM
Solaris 10 with DSEE 6.2 as ldap server and RHEL 5.1 as Openldap client al.lmco Linux - Newbie 1 07-04-2008 05:28 AM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM

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

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