When i added HOST 127.0.0.1
to ldap.conf it worked! 2010/10/21 Helge Tore Høyland <[email protected]> > Hi. > I'm trying to get openldap up and running. > > I am following this howot: > http://techpubs.spinlocksolutions.com/dklar/ldap.html > > 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 > > 127.0.0.1 localhost localhost.localdomain > 192.168.1.5 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 > > /etc/ldap/ldap.conf > > # > # LDAP Defaults > # > > # See ldap.conf(5) for details > # This file should be world readable but not world writable. > > BASE dc=htnett > URI ldap://192.168.1.5/ > > #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? > > > > >
