From owner-freebsd-questions@FreeBSD.ORG Sat Aug 18 13:17:01 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E4E116A420 for ; Sat, 18 Aug 2007 13:17:01 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1D813C442 for ; Sat, 18 Aug 2007 13:17:01 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.67) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1IMOAl-0005Fx-O2>; Sat, 18 Aug 2007 15:16:59 +0200 Received: from nugg-ad-r16.pixelpark.net ([77.74.239.6] helo=[192.168.2.182]) by inpost2.zedat.fu-berlin.de (Exim 4.67) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1IMOAl-0007Nz-N7>; Sat, 18 Aug 2007 15:16:59 +0200 Message-ID: <46C6F161.5080305@zedat.fu-berlin.de> Date: Sat, 18 Aug 2007 15:17:21 +0200 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 77.74.239.6 Subject: OpenLDAP: weirdness with slapd.conf vs. slapd.d/ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2007 13:17:01 -0000 Hello, while fiddling around with OpenLDAP 2.3.37 as taken from the ports collection I revealed something strange. Looking at the manpage of slapd I was taught that if neither -F nor -f option is applied when the SLAPD starts, default config directory /usr/local/etc/openldap/slapd.d/ is searched for dn=config.ldif. So I did, I configured my own dn=config.ldif file as it is described in chapter 5 and 6 of the OpenLDAP Administrator's documentation. But with FreeBSD 7.0-CURRENT and the port I run into something strange not being consistent with the documentation: the start of the slapd server was avoided by an error telling me there wasn't any readable slapd.conf file. What is that? Test with slaptest tells a syntactically correct slapd.d/ directory, but slapd won;t start. Touching an empty slapd.conf let the server start. The documents tell one that slapd.conf is a kind of deprecated, but it seems still in use. On the other hand, typing in the configuration taken from the Administrator's guide of OpenLDAP as found in chapters 5,6 does not work! Strange. Regards, Oliver