Probleme nach ldap update "ldap_bind: Can't contact LDAP server (81)"
Hallo Leute!
Vermutlich ist dieses Problem schon einmal hier gestellt worden. Ueber
google kam ich
aufeine Menge Eintraege aus anderen Listen aber keiner brachte Hilfe.
Hier nun das Problem: Seit dem update von 2.0.xx auf 2.1.23 konnte ich keine
Verbindung
mehr zum LDAP server herstellen (ldap_bind: Can't contact LDAP server (81)).
Ich habe schon eine Menge Beitraege darueber gelesen aber ich komme einfach
nicht
weiter. Aus der debug Ausabe von ldapsearch werde ich auch nicht worklich
schlau
Hier ist der Befehl:
ldapsearch -d 9 -H ldap://127.0.0.1:389/ -x -b dc=sangohn,dc=cm
Und hier die Ausgabe dazu:
=================output begin=============
ldap_create
ldap_url_parse_ext(ldap://127.0.0.1:389/)
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP 127.0.0.1:389
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 127.0.0.1:389
ldap_connect_timeout: fd: 3 tm: -1 async: 0
ldap_ndelay_on: 3
ldap_is_sock_ready: 3
ldap_ndelay_off: 3
ldap_int_sasl_open: host=adama.domain.com
ldap_open_defconn: successful
ldap_send_server_request
ber_flush: 14 bytes to sd 3
ldap_result msgid 1
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 1
wait4msg continue, msgid 1, all 1
** Connections:
* host: 127.0.0.1 port: 389 (default)
refcnt: 2 status: Connected
last used: Sun Mar 7 22:20:39 2004
** Outstanding Requests:
* msgid 1, origid 1, status InProgress
outstanding referrals 0, parent count 0
** Response Queue:
Empty
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 1, all 1
ber_get_next
ber_get_next failed.
ldap_perror
ldap_bind: Can't contact LDAP server (81)
=================output end=============
Hier sind mein Konfigurationsdateien:
=================/etc/ldap/slapd.conf begin=============
modulepath /usr/lib/ldap
moduleload back_bdb
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/authldap.schema
include /etc/ldap/schema/automount.schema
schemacheck on
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
replogfile /var/lib/ldap/replog
loglevel 16383
backend bdb
database bdb
suffix "dc=domain,dc=com"
directory "/var/lib/ldap"
index objectClass eq
lastmod on
access to * by * read
access to * by dn="cn=admin,dc=sangohn,dc=cm" write
=================/etc/ldap/slapd.conf end=============
=================/etc/default/slapd begin=============
SLAPD_CONF=/etc/ldap/slapd.conf
LAPD_USER=
SLAPD_GROUP=
SLAPD_GROUP=
SLAPD_PIDFILE=
SLURPD_START=auto
SLAPD_SERVICES="ldap://ldap:389/ ldap://127.0.0.1:389/"
SLAPD_OPTIONS=""
SLURPD_OPTIONS=""
=================/etc/default/slapd end=============
die /etc/ldap/ldap.conf ist leer.
Kann mir jemand bitte helfen dieses Problem zu loesen?
Danke imVoraus.
--
Regards,
Sangohn Christian
Reply to: