pkgsrc/databases/openldap-server/MESSAGE
ghen 29bb0e1a9c Import databases/openldap-server, formerly a part of databases/openldap but
now split off.  This package contains only the slapd and slurpd servers.

Please note that both slapd and slurpd now run unprivileged by default (as
slapd:ldap and slurpd:ldap, respectively).  An upgrade scenaria is described
in MESSAGE.  This change addresses PR pkg/31959.
2006-05-31 18:18:36 +00:00

16 lines
835 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2006/05/31 18:18:36 ghen Exp $
Note to users who have been running slapd and/or slurpd as root before:
As both slapd and slurpd now run unprivileged by default (as ${SLAPD_USER}:${LDAP_GROUP}
and ${SLURPD_USER}:${LDAP_GROUP}, respectively), you'll have to adapt some permissions:
${CHOWN} -R ${SLAPD_USER}:${LDAP_GROUP} ${OPENLDAP_VARDIR}/openldap-data/*
${CHOWN} -R ${SLURPD_USER}:${LDAP_GROUP} ${OPENLDAP_VARDIR}/openldap-slurp/*
${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.
===========================================================================