freeipa/tests/test_xmlrpc
Rob Crittenden 109b79a7ac Change the way has_keytab is determined, also check for password.
We need an indicator to see if a keytab has been set on host and
service entries. We also need a way to know if a one-time password is
set on a host.

This adds an ACI that grants search on userPassword and
krbPrincipalKey so we can do an existence search on them. This way
we can tell if the attribute is set and create a fake attribute
accordingly.

When a userPassword is set on a host a keytab is generated against
that password so we always set has_keytab to False if a password
exists. This is fine because when keytab gets generated for the
host the password is removed (hence one-time).

This adds has_keytab/has_password to the user, host and service plugins.

ticket https://fedorahosted.org/freeipa/ticket/1538
2011-08-24 14:12:01 +02:00
..
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
objectclasses.py Optionally wait for 389-ds postop plugins to complete 2011-07-19 13:06:16 +02:00
test_attr.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_automount_plugin.py Fix automountkey-mod 2011-08-18 20:35:12 -04:00
test_cert.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_delegation_plugin.py Fix changing membergroup in a delegation. 2011-02-01 11:59:24 -05:00
test_dns_plugin.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_group_plugin.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_hbac_plugin.py Hide the HBAC access type attribute now that deny is deprecated. 2011-07-21 01:11:45 -04:00
test_hbacsvcgroup_plugin.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_hbactest_plugin.py Add hbactest command. https://fedorahosted.org/freeipa/ticket/386 2011-07-28 18:01:44 -04:00
test_host_plugin.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_hostgroup_plugin.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_krbtpolicy.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_nesting.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_netgroup_plugin.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_passwd_plugin.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_permission_plugin.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_privilege_plugin.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_pwpolicy.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_replace.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_role_plugin.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_selfservice_plugin.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_service_plugin.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
test_sudocmd_plugin.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_sudocmdgroup_plugin.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_sudorule_plugin.py With the external user/group management fixed, correct the unit tests. 2011-07-20 17:27:42 +02:00
test_user_plugin.py Change the way has_keytab is determined, also check for password. 2011-08-24 14:12:01 +02:00
xmlrpc_test.py Fix invalid issuer in unit tests 2011-07-27 20:56:16 -04:00