[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

When i added


to ldap.conf it worked!

2010/10/21 Helge Tore Høyland <helge.tore.hoyland@gmail.com>
I'm trying to get openldap up and running.

I am following this howot:

I did a previous atempt yesterday, where i tried to do a tls setup.
Today i have done a

dpkg-reconfigure slapd

so, everything should be back to start.

/etc/hosts       localhost localhost.localdomain     server.htnett server krb1.htnett krb1 ldap1.htnett ldap1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


# LDAP Defaults

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

BASE    dc=htnett
URI     ldap://

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

/etc/ldap/slapd.conf er vedlagt.

This is installed on a fully updated Debian 5.0.6 distro.

slapcat gives a nice readout but:

ldapsearch -x  stats this:

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

This means no other computer will be able to connect through net.
Portmap is running, but hosts.allow and hosts.deny is emty. hostname is server.

Anyone got a clue to whats wrong?