From: Kurt Zeilenga Date: Wed, 3 May 2000 12:20:30 +0000 (+0000) Subject: Change slapd.conf example directory to $localstatedir/openldap-ldbm X-Git-Tag: OPENLDAP_REL_ENG_1_2_11~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ec5247a71d695f1f38042c6c62fe1d84cb59caa;p=thirdparty%2Fopenldap.git Change slapd.conf example directory to $localstatedir/openldap-ldbm --- diff --git a/CHANGES b/CHANGES index dffd629777..0939eab18e 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 8cfdb7674b..3d42c21cc3 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -291,7 +291,7 @@ at the expense of data security. .B 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 { | default } [ pres,eq,approx,sub,none ] diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 10d392710c..9ec7401272 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -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 \ diff --git a/servers/slapd/slapd.conf b/servers/slapd/slapd.conf index 6656e9a231..c5a7430303 100644 --- a/servers/slapd/slapd.conf +++ b/servers/slapd/slapd.conf @@ -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