[Freeipa-devel] [PATCH] 153 Improve hostgroup/netgroup collision checks

Martin Kosek mkosek at redhat.com
Mon Oct 17 12:43:04 UTC 2011


When the NGP plugin is enabled, a managed netgroup is created for
every hostgroup. We already check that netgroup with the same
name does not exist and provide a meaningful error message.
However, this error message was also printed when a duplicate
hostgroup existed.

This patch checks for duplicate hostgroup existence first and
netgroup on the second place. It also makes sure that when NGP
plugin is (temporarily) disabled, a colliding netgroup cannot
be created.

https://fedorahosted.org/freeipa/ticket/1914

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-153-improve-hostgroup-netgroup-collision-checks.patch
Type: text/x-patch
Size: 3502 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111017/55d96e5f/attachment.bin>


More information about the Freeipa-devel mailing list