mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-29 18:09:26 -05:00
Move default LDBM directory from /usr/tmp to $(localstatedir)
This commit is contained in:
parent
14418bdff3
commit
8c386888fa
3 changed files with 4 additions and 4 deletions
|
|
@ -401,7 +401,7 @@ performance at the expense of data security.
|
|||
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 ]
|
||||
|
|
|
|||
|
|
@ -201,6 +201,7 @@ install-schema: FORCE
|
|||
|
||||
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 \
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@ 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
|
||||
directory %LOCALSTATEDIR%/openldap-ldbm
|
||||
|
|
|
|||
Loading…
Reference in a new issue