freeipa/tests
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
..
test_cmdline Check to see if the command is available before running command tests. 2010-08-06 15:33:32 -04:00
test_install Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed 'existant' mispelling 2009-12-18 10:56:13 -05:00
test_ipalib Add support for client failover to the ipa command-line. 2010-08-16 10:35:27 -04:00
test_ipaserver XML-RPC signature change 2010-03-30 15:10:58 -04:00
test_pkcs10 Drop our own PKCS#10 ASN.1 decoder and use the one from python-nss 2010-07-29 10:50:10 -04:00
test_xmlrpc Enable a host to retrieve a keytab for all its services. 2010-08-16 17:13:56 -04:00
__init__.py Added top-level tests/ package that will contain all unit tests 2008-10-07 20:36:44 -06:00
data.py Re-enable Python2.4 tests and fixed some small things broken under Python2.4 2008-12-08 12:34:38 -07:00
test_util.py Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed 'existant' mispelling 2009-12-18 10:56:13 -05:00
util.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00