[Date Prev][Date Next]
Unknown directive "file"
I get this error message in my log file:
/usr/local/etc/openldap/slapd.conf: line 105: unknown directive "file"
inside backend database definition (ignored)
which I can't get past.
I'm running OpenLdap-2.0.18 on Solaris 7.
I'm trying to specify a passwd backend database, using /local/ldap/passwd
as the password file rather than /etc/passwd. (I'm not 100% sure I
_should_ be trying to do this but I may be able to answer that if I can
just get the thing to work!) So I have a "file" directive in my slapd.conf
I've configured openldap with --enable-passwd.
If I take out the file directive line, what's left seems to work correctly
- ldapsearch goes to /etc/passwd and from there (under control of
nssswitch.conf) to the nis databases. I just can't get it to go to a
non-default passwd file.
I've looked in the archives, the source, the docs, the man pages, with no
joy. Has anyone any suggestions?
Norman Paterson, University of St Andrews