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

Rob Crittenden rcritten at redhat.com
Sat Jan 29 00:11:39 UTC 2011


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?

And this code:

if not group_exists is None and not group_exists:

might be more readable as:

if group_exists == False:

rob




More information about the Freeipa-devel mailing list