6ef666e ipaclient.plugins: Use api_version from internally called commands

3 files Authored by dkupka 7 years ago, Committed by mbasti 7 years ago,
    ipaclient.plugins: Use api_version from internally called commands
    
    In client plugins make sure the api_version is 'inherited' from server command
    that is internally called. Otherwise the api_version is obtained from client
    API instance. When calling server command from client command 'version' is
    passed in options and it overrides the right one. Server then refuses to handle
    such call.
    
    https://fedorahosted.org/freeipa/ticket/6539
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    
        
file modified
+16 -0