[Date Prev][Date Next]
Re: (ITS#3906) slapadd can't find default database dir
> Supplying both -f and -F causes the files to be built in
> /usr/local/etc/openldap/slapd.d, but slapd doesn't find them when not
> using switches. Even using -F, slapd doesn't find the database
> directory. If -f is present, slapd does find the database directory.
> It appears that slapd can't read/use the information in slapd.d.
It works for me:
rm -rf /usr/local/etc/openldap/slapd.d/*
slaptest -f slapd.conf -F /usr/local/etc/openldap/slapd.d
slapadd -l input.ldif
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/