summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorMilan KubĂ­k <mkubik@redhat.com>2015-09-22 15:21:33 +0200
committerMartin Basti <mbasti@redhat.com>2015-10-27 09:57:48 +0100
commitd2ff5e4639157a839fe7d3c36b462e2195c32f4a (patch)
tree8947c0c90e2a295615ce28e001f002ca91741829 /ipapython
parent8d64485b2ea2512ad7254c7e5bd2906aa6ba45ed (diff)
downloadfreeipa-d2ff5e4639157a839fe7d3c36b462e2195c32f4a.tar.gz
freeipa-d2ff5e4639157a839fe7d3c36b462e2195c32f4a.tar.xz
freeipa-d2ff5e4639157a839fe7d3c36b462e2195c32f4a.zip
ipatests: added unlock_principal_password and change_principal
The unlock_principal_password unlocks the (new) user by running ldappasswd as the user. change_principal is an context manager that changes identity for the supplied api object by disconnecting and reconnecting the rpcclient in and outside of requested kerberos context. This context manager allows to run tests that cannot be executed as an admin user which can for example override an CA ACL. https://fedorahosted.org/freeipa/ticket/57 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions