freeipa/tests/test_xmlrpc
Rob Crittenden 2f4f9054aa Enable a host to retrieve a keytab for all its services.
Using the host service principal one should be able to retrieve a keytab
for other services for the host using ipa-getkeytab. This required a number
of changes:

- allow hosts in the service's managedby to write krbPrincipalKey
- automatically add the host to managedby when a service is created
- fix ipa-getkeytab to return the entire prinicpal and not just the
  first data element. It was returning "host" from the service tgt
  and not host/ipa.example.com
- fix the display of the managedby attribute in the service plugin

This led to a number of changes in the service unit tests. I took the
opportunity to switch to the Declarative scheme and tripled the number
of tests we were doing. This shed some light on a few bugs in the plugin:

- if a service had a bad usercertificate it was impossible to delete the
  service. I made it a bit more flexible.
- I added a summary for the mod and find commands
- has_keytab wasn't being set in the find output

ticket 68
2010-08-16 17:13:56 -04:00
..
__init__.py Initial tests for user, group and service plugin API 2008-11-03 17:31:32 -05:00
objectclasses.py Add ipaUniqueID to HBAC services and service groups 2010-05-27 10:51:02 -04:00
test_aci_plugin.py Change expected aci summary from Updated to Modify in test cases 2010-07-06 15:39:44 -04:00
test_automount_plugin.py Take 2: Extensible return values and validation; steps toward a single output_for_cli(); enable more webUI stuff 2009-12-10 08:29:15 -07:00
test_cert.py Require that hosts be resolvable in DNS. Use --force to ignore warnings. 2010-08-06 15:31:57 -04:00
test_group_plugin.py Allow decoupling of user-private groups. 2010-08-10 16:41:47 -04:00
test_hbac_plugin.py Require that hosts be resolvable in DNS. Use --force to ignore warnings. 2010-08-06 15:31:57 -04:00
test_hbacsvcgroup_plugin.py Add ipaUniqueID to HBAC services and service groups 2010-05-27 10:51:02 -04:00
test_host_plugin.py Enable a host to retrieve a keytab for all its services. 2010-08-16 17:13:56 -04:00
test_hostgroup_plugin.py Require that hosts be resolvable in DNS. Use --force to ignore warnings. 2010-08-06 15:31:57 -04:00
test_netgroup_plugin.py Require that hosts be resolvable in DNS. Use --force to ignore warnings. 2010-08-06 15:31:57 -04:00
test_passwd_plugin.py Take 2: Extensible return values and validation; steps toward a single output_for_cli(); enable more webUI stuff 2009-12-10 08:29:15 -07:00
test_pwpolicy.py Replace old pwpolicy plugin with new one using baseldap, fix tests. 2010-05-17 13:48:19 -04:00
test_rolegroup_plugin.py Fix unicode failures in Env tests and dn failures in XML-RPC tests 2010-02-26 12:31:11 -05:00
test_service_plugin.py Enable a host to retrieve a keytab for all its services. 2010-08-16 17:13:56 -04:00
test_taskgroup_plugin.py Fix unicode failures in Env tests and dn failures in XML-RPC tests 2010-02-26 12:31:11 -05:00
test_user_plugin.py Fix user tests to handle managed entries 2010-08-10 16:41:28 -04:00
xmlrpc_test.py Add support for client failover to the ipa command-line. 2010-08-16 10:35:27 -04:00