Ok – I was getting confused with the:

Specifies the slapd configuration directory. The default is /usr/etc/openldap/slapd.d.

By default – I thought it meant you didn’t not need to specify the ‘-F’ and it would use that directory.

MAT


On 3/3/09 4:01 PM, "Quanah Gibson-Mount" <quanah@zimbra.com> wrote:

--On Tuesday, March 03, 2009 2:59 PM -0800 Quanah Gibson-Mount
<quanah@zimbra.com> wrote:

> --On Tuesday, March 03, 2009 3:49 PM -0700 Mathew Rowley
> <mathew_rowley@cable.comcast.com> wrote:
>
>> I am reading the man page for slapd as well as the admin guide, but I
>> cannot find anywhere that says how to use a directory vs a .conf file...
>
> Chapter 5 of the 2.4 admin guide:
>
> <http://www.openldap.org/doc/admin24/slapdconf2.html>
>
> and
>
> <http://www.openldap.org/software/man.cgi?query=slapd&apropos=0&sektion=0
> &manpath=OpenLDAP+2.4-Release&format=html>
>
> See the "-F" option

Also, you can use the slapdtest command to convert a slapd.conf file to a
cn=config tree.

slaptest -f <conf file> -F <destination directory>

and then remove slapd.conf and just use slapd with the -F option.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration


--
MAT