[Freeipa-devel] [PATCH 0014] Improve user addition to default group in host-add

Petr Viktorin pviktori at redhat.com
Wed Sep 26 07:59:56 UTC 2012


On 09/25/2012 12:37 PM, Tomas Babej wrote:
> Hi,
>
> On adding new user, host-add tries to make it a member of default
> user group. This, however, can raise AlreadyGroupMember when the
> user is already member of this group due to automember rule or
> default group configured. This patch makes sure AlreadyGroupMember
> exception is caught in such cases.
>
> https://fedorahosted.org/freeipa/ticket/3097
>
> Tomas
>
>

This looks good, but please also add a test for it.

-- 
Petr³




More information about the Freeipa-devel mailing list