pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/31959 (make databases/openldap run as non-root)



The following reply was made to PR pkg/31959; it has been noted by GNATS.

From: Adrian Portelli <adrianp%stindustries.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/31959 (make databases/openldap run as non-root)
Date: Sat, 18 Mar 2006 13:21:24 +0000

 Hi,
 
 Just a few quick point for anyone that decides to address this PR:
 
 OpenLDAP's slapd (at least in openldap-2.3.11nb1) also supports the use
 of -g to specify a group to run as.  If we are going to create the ldap
 group (as the patch does) we should change the line in slapd.sh to:
 
 command_args="-u @LDAP_USER@ -g @LDAP_GROUP@"
 
 In addition to this:
 
 FILES_SUBST+=          LDAP_GROUP=${LDAP_GROUP}
 
 would probably be needed as well.
 
 Also OpenLDAP's slurpd (at least in openldap-2.3.11) does not support -u
 or -g.
 
 adrian.
 



Home | Main Index | Thread Index | Old Index