From: Kurt Zeilenga Date: Mon, 29 May 2000 05:54:05 +0000 (+0000) Subject: Import openldap-ldbm perms from devel X-Git-Tag: OPENLDAP_REL_ENG_1_2_11~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c226bc65bada1346bf26d909d3fdda408a59516;p=thirdparty%2Fopenldap.git Import openldap-ldbm perms from devel --- diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 9ec7401272..43476a0a5a 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -118,7 +118,7 @@ CFFILES=slapd.conf slapd.at.conf slapd.oc.conf install-conf: FORCE @-$(MKDIR) $(sysconfdir) - @-$(MKDIR) $(localstatedir)/openldap-ldbm + @-$(INSTALL) -m 700 -d $(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 c5a7430303..f357d5d11e 100644 --- a/servers/slapd/slapd.conf +++ b/servers/slapd/slapd.conf @@ -23,5 +23,7 @@ rootdn "cn=Manager, dc=my-domain, dc=com" # be avoid. See slapd.conf(5) for details. rootpw secret # database directory +# this directory MUST exist prior to running slapd AND +# should only be accessable by the slapd/tools Mode 700 recommended. directory %LOCALSTATEDIR%/openldap-ldbm