LinuxQuestions.org
Review your favorite Linux distribution.
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 05-08-2012, 12:53 AM   #1
achoos13
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Rep: Reputation: Disabled
openldap over tls


Hey Guys,
I am new to openldap. I am trying to setup openldap2.4.23 over tls on rhel6 . generating a self signed cert on the ldap server and importing that into the ldap client so it will use ldap .From server side ldap is working fine. in server idap user can be logged in using su. but its failing continuously in client side.Will anyone help me in the implementation client side.
 
Old 05-08-2012, 02:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you could start by at least telling us what "failing" means here. What do the logs say on the client AND server sides? How does TLS come into the equations? Is this straight TLS on 636 or STARTTLS on 389? does it work without it?
 
Old 05-08-2012, 06:20 AM   #3
achoos13
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
error i got while trying to ldapsearch
ldaperr2string ldap_start_tls: connect error(-11)

ldapsearch and ldapwhoami are woking fine both in server and client without TLS.But even then login using ldap in client was not working.
 
Old 05-08-2012, 06:23 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
so what command are you getting that from? what's the entire command with debugging enabled? Please try to provide information without drip feeding it... It makes things very slow and frustrating...
 
Old 05-08-2012, 07:28 AM   #5
achoos13
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
I am working with openldap for the first time> so didnt get into the debug Part.

i got this error when ldapserach

ldapsearch -d -1 -LLL -ZZ


AND i followed this document mainly

http://www.server-world.info/en/note?os=CentOS_6&p=ldap
 
Old 05-08-2012, 07:38 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just read the ldapsearch manpage and enable debugging accordingly with the -d option.
 
1 members found this post helpful.
  


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] Issues with OpenLDAP and SSL / TLS LBM Linux - Software 6 10-01-2011 08:04 PM
openLDAP SSL/TLS error phaniakkina Linux - Software 1 05-25-2011 02:43 PM
Using TLS with Openldap - How to nqk28703 Linux - Software 2 04-25-2011 02:59 AM
OpenLDAP and TLS-SSL karlochacon Linux - Server 5 02-03-2011 01:01 AM

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

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