LinuxQuestions.org
Visit Jeremy's Blog.
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 12-03-2019, 12:56 PM   #1
klaaws
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
Unhappy ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)


I Just installed openldap server on kalilinux.
when i enter the command :
ldapsearch -d 1 -v -H ldaps://entreprise.com:666

return this
Code:
ldap_url_parse_ext(ldaps://entreprise.com:666)
ldap_initialize( ldaps://entreprise.com:666/??base )
ldap_create
ldap_url_parse_ext(ldaps://entreprise.com:666/??base)
ldap_pvt_sasl_getmech
ldap_search
put_filter: "(objectclass=*)"
put_filter: simple
put_simple_filter: "objectclass=*"
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP entreprise.com:666
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 91.195.240.126:666
ldap_pvt_connect: fd: 3 tm: -1 async: 0
attempting to connect: 
connect errno: 111
ldap_close_socket: 3
ldap_msgfree
ldap_err2string
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
this is my /ldap/ldap.conf
Code:
# LDAP Defaults
#

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

BASE	dc=entreprise,dc=com
URI	ldap://entreprise.com ldap://entreprise.com:666

#SIZELIMIT	12
#TIMELIMIT	15
#DEREF		never

# TLS certificates (needed for GnuTLS)
TLS_CACERT	/etc/ssl/certs/ca-certificates.crt
 
Old 12-03-2019, 04:38 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,590

Rep: Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799
Quote:
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
Make sure slapd is running, listening on (the non default) port 666 and there is no firewall blocking port 666 from outside

Regards
 
  


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 03:02 AM
openldap client fails to connect ldap server 'ldap_bind: Can't contact LDAP server' Suresh Chandra Linux - Server 1 04-30-2014 03:23 AM
[SOLVED] openldap client fails to connect ldap server 'ldap_bind: Can't contact LDAP server' JALITE Linux - Server 12 09-30-2010 09:17 AM
Ldap error "ldap_sasl_interactive_bind_s: Invalid credentials (49)" knockout_artist Linux - Newbie 1 10-30-2009 04:56 PM
ldap_sasl_interactive_bind_s: Can't contact LDAP server (81) Jingle Linux - Software 4 01-08-2004 01:41 PM

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

All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration