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

Tomas Babej tbabej at redhat.com
Mon Oct 1 13:38:55 UTC 2012


On 09/26/2012 04:12 PM, Martin Kosek wrote:
> On 09/26/2012 03:23 PM, Tomas Babej wrote:
>> 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
>> I fixed the typo in the commit message. It refers to the proper command now.
>>
>> Tomas
> I would also like to see the tests that Petr Viktorin already asked for.
>
> Setting an automember default group to ipausers, adding a user and checking the
> result should be enough.
>
> Martin
>
I added a relevant test to the test_host_plugin.py file.

Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0014-3-Improve-user-addition-to-default-group-in-user-add.patch
Type: text/x-patch
Size: 5050 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20121001/1b2294d3/attachment.bin>


More information about the Freeipa-devel mailing list