mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
Add pidfile/argsfile options to default slapd.conf.
This commit is contained in:
parent
4a38390906
commit
b83ae3b434
2 changed files with 8 additions and 1 deletions
|
|
@ -122,7 +122,9 @@ install-conf: FORCE
|
|||
else \
|
||||
mode=644 ; \
|
||||
fi ; \
|
||||
$(SED) -e 's;%SYSCONFDIR%;$(sysconfdir);' $(srcdir)/$$i > $$tmpcf ; \
|
||||
$(SED) -e 's;%SYSCONFDIR%;$(sysconfdir);' \
|
||||
-e 's;%LOCALSTATEDIR%;$(localstatedir);' \
|
||||
$(srcdir)/$$i > $$tmpcf ; \
|
||||
if test ! -f $(sysconfdir)/$$i; then \
|
||||
echo "installing $$i in $(sysconfdir)"; \
|
||||
echo "$(INSTALL) $(INSTALLFLAGS) -m $$mode $$tmpcf $(sysconfdir)/$$i"; \
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ include %SYSCONFDIR%/slapd.oc.conf
|
|||
schemacheck off
|
||||
referral ldap://ldap.itd.umich.edu
|
||||
|
||||
pidfile %LOCALSTATEDIR%/slapd.pid
|
||||
argsfile %LOCALSTATEDIR%/slapd.args
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
@ -20,3 +23,5 @@ rootdn "cn=root, dc=your-domain, dc=com"
|
|||
rootpw secret
|
||||
# cleartext passwords, especially for the rootdn, should
|
||||
# be avoid. See slapd.conf(5) for details.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue