Change slapd.conf example directory to $localstatedir/openldap-ldbm

This commit is contained in:
Kurt Zeilenga 2000-05-03 12:20:30 +00:00
parent 1d06783128
commit 3ec5247a71
4 changed files with 7 additions and 3 deletions

View file

@ -8,6 +8,8 @@ Changes included in OpenLDAP 1.2.11 Release Engineering
non-zero number of items to process with only one replica.
Fix strdup use in libldap/request.c
Fix NULL prefix bug in libldap/ufn.c
Build Environment
Change slapd.conf LDBM directory to $localstatedir/openldap-ldbm
Changes included in OpenLDAP 1.2.10
CVS Tag: OPENLDAP_REL_ENG_1_2_10

View file

@ -291,7 +291,7 @@ at the expense of data security.
.B directory <directory>
Specify the directory where the LDBM files containing the database and
associated indexes live. The default is
.B /usr/tmp.
.BR LOCALSTATEDIR/openldap\-ldbm .
.TP
.B
index { <attrlist> | default } [ pres,eq,approx,sub,none ]

View file

@ -118,6 +118,7 @@ CFFILES=slapd.conf slapd.at.conf slapd.oc.conf
install-conf: FORCE
@-$(MKDIR) $(sysconfdir)
@-$(MKDIR) $(localstatedir)/openldap-ldbm
@for i in $(CFFILES); do \
tmpcf=/tmp/$$i.$$ ; \
if test $$i = slapd.conf ; then \

View file

@ -19,8 +19,9 @@ suffix "dc=my-domain, dc=com"
#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
# database directory
directory %LOCALSTATEDIR%/openldap-ldbm