Specify the directory where the LDBM files containing this database and
associated indexes live. A separate directory must be specified for
each database. The default is
-.B /usr/tmp.
+.BR LOCALSTATEDIR/openldap-ldbm .
.TP
.B
index { <attrlist> | default } [ pres,eq,approx,sub,none ]
install-conf: FORCE
@-$(MKDIR) $(DESTDIR)$(sysconfdir)
+ @-$(MKDIR) $(DESTDIR)$(localstatedir)/openldap-ldbm
@for i in $(CFFILES); do \
tmpcf=$$i.tmp ; \
if test $$i = slapd.conf ; then \
#suffix "o=My Organization Name, c=US"
rootdn "cn=Manager, dc=my-domain, dc=com"
#rootdn "cn=Manager, o=My Organization Name, c=US"
-rootpw secret
# cleartext passwords, especially for the rootdn, should
# be avoid. See slapd.conf(5) for details.
-directory /usr/tmp
-
+rootpw secret
+directory %LOCALSTATEDIR%/openldap-ldbm