dc39e95 Fix dnszone-add name_from_ip server validation

Authored and Committed by mkosek 12 years ago
    Fix dnszone-add name_from_ip server validation
    
    Ticket 1627 contained a (temporary hack-ish) fix for dnszone-add
    name_from_ip validation which works fine for CLI. However, when
    the command is not proceeded via CLI and sent directly to the
    RPC server, the server throws Internal Server Error.
    
    Make sure that the server returns a reasonable error. Also implement
    2 unit cases testing this option
    
    https://fedorahosted.org/freeipa/ticket/1941
    
        
file modified
+8 -1