pkgsrc/databases/openldap-server/MESSAGE.common

15 lines
682 B
Text

===========================================================================
$NetBSD: MESSAGE.common,v 1.1 2008/09/12 11:28:34 ghen Exp $
Note to users who have been running slapd as root before:
As slapd now runs unprivileged by default (as ${SLAPD_USER}:${LDAP_GROUP},
you'll have to adapt some permissions:
${CHOWN} -R ${SLAPD_USER}:${LDAP_GROUP} ${OPENLDAP_VARDIR}/openldap-data/*
${CHOWN} :${LDAP_GROUP} ${OPENLDAP_ETCDIR}/slapd.conf
${CHMOD} 640 ${OPENLDAP_ETCDIR}/slapd.conf
You may have to repeat the first command after running administrative tools
such as slapadd and slapindex as root.
===========================================================================