LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-19-2012, 09:43 AM   #1
ostapv
LQ Newbie
 
Registered: Nov 2012
Posts: 5

Rep: Reputation: Disabled
Angry RHLE 6.3 join to LDAP RHDS 9.0


Hello experts!

I need help to join my client (RHEL 6.3) to LDAP Server RHDS 9.0.
I installed and configured RHDS without problem. RHDS configuret without SSl/TSL.

Client.
On the client my steps:

1) yum install nss-pam-ldapd openldap-clients
2) authconfig --enableldap --enableldapauth --enablemkhomedir --ldapserver=gpu.example.com --ldapbasedn="dc=example,dc=com" --update
3) When I run: getent passwd - receiving local passwords
4)Non errors in the /var/log/messages

Question:

1) It is possible RHDS work without TLS ?
2) What i see in RHDS when i successfully join client to LDAP ? (any computers some also?)

Thanks
 
Old 11-19-2012, 12:05 PM   #2
ostapv
LQ Newbie
 
Registered: Nov 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
I configured CA ans sertificates to work with TLS.
Checking with command ldapsearch on Server and Client:

ldapsearch -D "cn=directory manager" -w password-p 389 -h gpu.example.com -b "dc=example,dc=com " -s sub -x -ZZ "(objectclass=* )"

extended LDIF
#
# LDAPv3
# base <dc=example,dc=com > with scope subtree
# filter: (objectclass=* )
# requesting: ALL
#

# search result
search: 3
result: 0 Success

# numResponses: 1


When i run on client getent passwd, i received
Nov 19 19:47:21 localhost nslcd[1489]: [edbdab] failed to bind to LDAP server ldap://gpu.example.com: Connect error
Nov 19 19:47:21 localhost nslcd[1489]: [edbdab] no available LDAP server found
Nov 19 19:48:39 localhost nslcd[1489]: [838cb2] ldap_start_tls_s() failed: Connect error (uri="ldap://gpu.example.com")
Nov 19 19:48:39 localhost nslcd[1489]: [838cb2] failed to bind to LDAP server ldap://gpu.example.com: Connect error
Nov 19 19:48:39 localhost nslcd[1489]: [838cb2] no available LDAP server found
Nov 19 19:49:30 localhost nslcd[1489]: [53d0cd] ldap_start_tls_s() failed: Connect error (uri="ldap://gpu.example.com")
Nov 19 19:49:30 localhost nslcd[1489]: [53d0cd] failed to bind to LDAP server ldap://gpu.example.com: Connect error
Nov 19 19:49:30 localhost nslcd[1489]: [53d0cd] no available LDAP server found
Nov 19 19:49:30 localhost nslcd[1489]: [53d0cd] no available LDAP server found
Nov 19 19:50:01 localhost nslcd[1489]: [03e0c6] ldap_start_tls_s() failed: Connect error (uri="ldap://gpu.example.com")
Nov 19 19:50:01 localhost nslcd[1489]: [03e0c6] failed to bind to LDAP server ldap://gpu.example.com: Connect error
Nov 19 19:50:01 localhost nslcd[1489]: [03e0c6] no available LDAP server found
Nov 19 19:50:01 localhost nslcd[1489]: [03e0c6] no available LDAP server found

[root@gpu-client ~]# ll /etc/openldap/cacerts
total 0

[root@gpu-client ~]# ll /etc/openldap/ldap.conf
-rw-r--r--. 1 root root 316 Nov 19 19:53 /etc/openldap/ldap.conf
[root@gpu-client ~]# cat /etc/openldap/ldap.conf
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

#BASE dc=example,dc=com
#URI ldap://ldap.example.com

#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never

URI ldap://gpu.example.com
BASE dc=example,dc=com

TLS_CACERTDIR /etc/openldap/cacerts
TLS_REQCERT allow
[root@gpu-client ~]#
 
1 members found this post helpful.
  


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
[SOLVED] can not join domain from SAMBA+LDAP ducthuan90 Linux - Newbie 1 09-11-2012 04:54 AM
Can we join a Windows client to LDAP sever vivekanandan Linux - Newbie 2 07-08-2010 04:11 PM
Issue while compiling sample LDAP plug-in on RHDS mspradeep4u Linux - Server 1 02-24-2010 09:40 AM
Issue while compiling sample LDAP plug-in on RHDS mspradeep4u Programming 1 02-24-2010 03:19 AM
Failing to join domain/Samba/LDAP/XP brandon@rhiamet.com Linux - Server 0 02-03-2009 08:01 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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