summaryrefslogtreecommitdiffstats
path: root/makeapi
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-10-17 14:26:13 +0200
committerMartin Kosek <mkosek@redhat.com>2011-10-17 17:09:57 +0200
commit5a3268fc7d731232844eb9391be722db2179f24c (patch)
tree14fcdc0c4bf8c4c867017a51711547360df7e7b9 /makeapi
parente365bc5379e38e2deb0e7ce88033e9e263cbd671 (diff)
downloadfreeipa-5a3268fc7d731232844eb9391be722db2179f24c.tar.gz
freeipa-5a3268fc7d731232844eb9391be722db2179f24c.tar.xz
freeipa-5a3268fc7d731232844eb9391be722db2179f24c.zip
Improve hostgroup/netgroup collision checks
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
Diffstat (limited to 'makeapi')
0 files changed, 0 insertions, 0 deletions