diff options
| author | Martin Kosek <mkosek@redhat.com> | 2011-10-17 14:26:13 +0200 |
|---|---|---|
| committer | Martin Kosek <mkosek@redhat.com> | 2011-10-17 17:09:46 +0200 |
| commit | 99d938152fbef41f2d48d4088e5ba39bc820e9de (patch) | |
| tree | 260586fa0fc76cd040b07296530ed7b053e878fb /ipapython/certdb.py | |
| parent | b607c5cc5ab34c007640011f299f358f190f6652 (diff) | |
| download | freeipa.git-99d938152fbef41f2d48d4088e5ba39bc820e9de.tar.gz freeipa.git-99d938152fbef41f2d48d4088e5ba39bc820e9de.tar.xz freeipa.git-99d938152fbef41f2d48d4088e5ba39bc820e9de.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 'ipapython/certdb.py')
0 files changed, 0 insertions, 0 deletions
