]> git.sur5r.net Git - openldap/commitdiff
Import openldap-ldbm perms from devel
authorKurt Zeilenga <kurt@openldap.org>
Mon, 29 May 2000 05:54:05 +0000 (05:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 29 May 2000 05:54:05 +0000 (05:54 +0000)
servers/slapd/Makefile.in
servers/slapd/slapd.conf

index 9ec740127218b730e01ed7be5a29439068db7214..43476a0a5a5dbef670dfe8da8e9742b9ff8373ca 100644 (file)
@@ -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 \
index c5a7430303bd6e049f380a4b7421fec52ed2409c..f357d5d11e0977fe90901fa1aca5e345a0b2d7cf 100644 (file)
@@ -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