LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-05-2012, 03:13 AM   #1
kribo
LQ Newbie
 
Registered: Nov 2012
Posts: 10

Rep: Reputation: Disabled
Unhappy ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) centos


hi, i try to configure ldap server on centos 6.3 and it work for authentication proftpd and login ubuntu. and than i want to secure my ldap with SSL/TLS. but i got some problem.

Quote:
when client try this command
ldapsearch -x -H ldaps://192.168.0.27 -b 'dc=myldap,dc=id' 'uid=*'
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
additional info: TLS: hostname does not match CN in peer certificate
but when try in server:
i have all index of uid

i followed this article http://www.server-world.info/en/note...S_6&p=ldap&f=3

my log server is:
Nov 2 21:22:39 client slapd[1855]: conn=1085 fd=16 ACCEPT from IP=192.168.0.27:59422 (IP=0.0.0.0:636)
Nov 2 21:22:39 client slapd[1855]: conn=1085 fd=16 TLS established tls_ssf=256 ssf=256
Nov 2 21:22:39 client slapd[1855]: conn=1085 fd=16 closed (connection lost)

Last edited by kribo; 11-05-2012 at 04:34 AM.
 
Old 11-07-2012, 05:40 AM   #2
henrycoffin
Member
 
Registered: Dec 2006
Distribution: RHEL Debian
Posts: 42

Rep: Reputation: 15
My first guess would be that you probably don't have the IP address in the certificate!

Try connecting to ldaps://servernameusedincert instead
 
Old 11-23-2012, 04:05 AM   #3
kribo
LQ Newbie
 
Registered: Nov 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by henrycoffin View Post
My first guess would be that you probably don't have the IP address in the certificate!

Try connecting to ldaps://servernameusedincert instead


yes it work, i try to insert
ldaps://myldapdomain.

thank you
 
  


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
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 02:02 AM
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) neverland Linux - Server 10 09-12-2012 08:26 AM
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 05:30 PM
[SOLVED] openldap client fails to connect ldap server 'ldap_bind: Can't contact LDAP server' JALITE Linux - Server 12 09-30-2010 08:17 AM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 06:40 PM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration