16d17f4 Improve netgroup-add error messages

Authored and Committed by mkosek 12 years ago
    Improve netgroup-add error messages
    
    These two situations in netgroup-add need to be distinguished:
     1) Netgroup cannot be added because a hostgroup with the same name
        created a colliding managed netgroup
     2) Another native netgroup with the same name exists
    
    This patch checks the colliding netgroup and raise appropriate
    error message based on this finding.
    
    https://fedorahosted.org/freeipa/ticket/2069
    
        
file modified
+11 -7