387ee6e ipatests: add XMLRPC test for user-add when UPG plugin is disabled

Authored and Committed by frenaud 4 years ago
    ipatests: add XMLRPC test for user-add when UPG plugin is disabled
    
    Add a new XMLRPC test in test_user_plugin:
    - disable the UPG plugin
    - create a user without the --gid parameter
      as the default group for new users is not POSIX (ipausers), the
      command is expected to fail
    - create a user with the --gid parameter
      The provided gid is used and command is expected to succeed
    - create a user with the same name as an existing group
      As the UPG plugin is disabled, the user creation will not trigger
      the creation of a group with the same name, and command is
      expected to succeed
    - re-enable the UPG plugin for other tests
    
    Related to: https://pagure.io/freeipa/issue/4972
    
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>