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

LDAP through unix domain sockets




I'm trying to run Heimdal with an OpenLDAP backend, but I've been having
trouble. I'm running FreeBSD 4.3-stable and I can't seem to get slapd to run
at all with the "ldapi:///" URL as the only specified listener. I've
included the OpenLDAP debug messages in a command line snippet below. Thanks
for any help!


Philip J Beyer
Paladin IT Services, Inc.
Philip@paladin-its.com


bash-2.04# uname -a
FreeBSD garm.paladin-its.com 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri Jun 22
21:40:08 CDT 2001     root@garm.paladin-its.com:/usr/obj/usr/src/sys/GARM
i386
bash-2.04# /usr/local/libexec/slapd -h "ldapi:///" -f
/usr/local/etc/openldap/slapd.conf -d -1
@(#) $OpenLDAP: slapd 2.0.11-Release (Thu Jul 12 13:27:32 CDT 2001) $
 
root@garm.paladin-its.com:/usr/local/src/openldap-2.0.11/servers/slapd
daemon_init: ldapi:///
daemon_init: listen on ldapi:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldapi:///)
daemon: getaddrinfo failed: ai_family not supported
slapd stopped.
connections_destroy: nothing to destroy.
bash-2.04# cat /usr/local/etc/openldap/slapd.conf
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18
kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/hdb.schema

# Define global ACLs to disable default read access.
access to *
        by sockurl="^ldapi:///$" write

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

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

# Load dynamic backend modules:
# modulepath    /usr/local/libexec/openldap
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la

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

database        ldbm
suffix          "dc=paladin-its, dc=com"
#suffix         "o=My Organization Name, c=US"
rootdn          "cn=Manager, dc=paladin-its, dc=com"
#rootdn         "cn=Manager, o=My Organization Name, c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          secret
# The database directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory       /var/openldap/ldbm
# Indices to maintain
index   objectClass     eq