mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Set SuiteSpotGroup when setting up our 389-ds instances.
The group is now required because 389-ds has tightened the permissions on /var/run/dirsrv. We use the same group for both our LDAP instances and /var/run/dirsrv ends up as root:dirsrv mode 0770. ticket 1010
This commit is contained in:
committed by
Adam Young
parent
22a503785e
commit
99d6e0883a
@@ -149,6 +149,7 @@ INF_TEMPLATE = """
|
||||
[General]
|
||||
FullMachineName= $FQHN
|
||||
SuiteSpotUserID= $USER
|
||||
SuiteSpotGroup= $GROUP
|
||||
ServerRoot= $SERVER_ROOT
|
||||
[slapd]
|
||||
ServerPort= 389
|
||||
@@ -319,6 +320,7 @@ class DsInstance(service.Service):
|
||||
TIME=int(time.time()), IDSTART=self.idstart,
|
||||
IDMAX=self.idmax, HOST=self.fqdn,
|
||||
ESCAPED_SUFFIX= escape_dn_chars(self.suffix.lower()),
|
||||
GROUP=DS_GROUP,
|
||||
)
|
||||
|
||||
def __create_ds_user(self):
|
||||
|
||||
Reference in New Issue
Block a user