[Freeipa-devel] [PATCH] 0079 Use common group for DS instances

Simo Sorce ssorce at redhat.com
Sat Jan 29 23:57:10 UTC 2011


On Sat, 29 Jan 2011 10:28:49 -0500
Simo Sorce <ssorce at redhat.com> wrote:

> On Fri, 28 Jan 2011 19:11:39 -0500
> Rob Crittenden <rcritten at redhat.com> wrote:
> 
> > Simo Sorce wrote:
> > >
> > > Use a common group named 'dirsrv' for all DS instances, as
> > > requested in ticket #851
> > >
> > > While there also remove the -u option, it is silly to allow to
> > > change one in three (the other are group name and pki ds instance
> > > user) accounts only. Plus it is apparently confusing to admins.
> > >
> > > Simo.
> > 
> > Just a couple of really minor nit-pickiness.
> > 
> > If we are hardcoding the user why make it an argument to the
> > various create_instance commands? You already import the group from
> > dsinstance, why not the user too?
> 
> I didn't want to change too much code :-)
> I'll change that, hopefully w/o introducing regressions.
> 
> > And this code:
> > 
> > if not group_exists is None and not group_exists:
> > 
> > might be more readable as:
> > 
> > if group_exists == False:
> 
> I copied from dsinstance.uninstall() I will change it.
> 
> Simo.
> 

Revised patch attached.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-simo-0079-2-Use-a-common-group-for-all-DS-instances.patch
Type: text/x-patch
Size: 36177 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110129/99d43581/attachment.bin>


More information about the Freeipa-devel mailing list