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

ldap_bind: Can't contact LDAP server



Hi,
        I'm just starting out with setting up LDAP and I'm having a strange
problem.  When I run a search I get

        {54}: ldapsearch -s base -b cn=monitor 'objectclass=*'
        ldap_bind: Can't contact LDAP server

and the slapd logs report

        slapd[23931]: fd=6 connection from unknown (127.0.0.1) denied.

What's up?  I didn't see anything like this in the list archive so I figure
I'm doing something really stupid.  127.0.0.1 is in my hosts file and DNS
records so it shouldn't be unknown.  

Thanks

Here's my slapd.conf file:


#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		/etc/openldap/slapd.at.conf
include		/etc/openldap/slapd.oc.conf
schemacheck	off
referral	ldap://root.openldap.org/

loglevel        8
pidfile		/var/run/slapd.pid
argsfile	/var/run/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

#suffix		"o=My Organization Name, c=US"
#rootdn		"cn=Manager, o=My Organization Name, c=US"
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.

database	ldbm
suffix		"o=bittwiddlers, c=com"
directory	/var/lib/ldap
rootdn		"cn=mharrell, o=bittwiddlers, c=com"
rootpw		secret


-- 
  Matthew Harrell                          If at first you don't succeed,
  Bit Twiddlers, Inc.                       try management.
  mharrell@bittwiddlers.com