[Freeipa-devel] [PATCH] 730 managed netgroups immutable

JR Aquino JR.Aquino at citrix.com
Fri Feb 18 17:54:01 UTC 2011


On 2/17/11 2:20 PM, "Rob Crittenden" <rcritten at redhat.com> wrote:

>JR Aquino wrote:
>> On 2/17/11 11:02 AM, "Rob Crittenden"<rcritten at redhat.com>  wrote:
>>
>>> Make managed netgroups (those created as a result of creating a
>>> hostgroup) should be immutable. This aci will deny writes to a managed
>>> netgroup.
>>>
>>> ticket 962
>>>
>>> rob
>>> _______________________________________________
>>> Freeipa-devel mailing list
>>> Freeipa-devel at redhat.com
>>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>>
>> nack
>> Rebase?
>> Patch does not apply cleanly.
>>
>> # git apply freeipa-rcrit-730-netgroup.patch
>> freeipa-rcrit-730-netgroup.patch:18: new blank line at EOF.
>> +
>> error: patch failed: install/updates/Makefile.am:5
>> error: install/updates/Makefile.am: patch does not apply
>>
>
>Updated patch attached.
>
>Rob

ACK

# ipa hostgroup-add testing1
Description: test
--------------------------
Added hostgroup "testing1"
--------------------------
  Host-group: testing1
  Description: test
[root at auth2 freeipa]# ipa netgroup-find
-------------------
0 netgroups matched
-------------------
----------------------------
Number of entries returned 0
----------------------------
[root at auth2 freeipa]# ipa netgroup-find --private
------------------
1 netgroup matched
------------------
  Netgroup name: testing1
  Description: ipaNetgroup testing1
  NIS domain name: example.com
  Member Hostgroup: testing1
----------------------------
Number of entries returned 1
----------------------------
[root at auth2 freeipa]# ipa netgroup-add testing1
Description: test
ipa: ERROR: Constraint violation: Another entry with the same attribute
value already exists (attribute: "cn")
[root at auth2 freeipa]# 





More information about the Freeipa-devel mailing list