mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 15:23:08 +00:00
destroy kerberos cache before firefox in freeipa password change
In F25+, Firefox seems to do kerberos auth automatically, so if we go to the FreeIPA admin URL while kerberos-authed as test4, we are logged in right away as test4 - neat! But not what we wanted. So let's kdestroy.
This commit is contained in:
parent
2c644aa204
commit
9af88e3f23
@ -8,6 +8,8 @@ sub run {
|
|||||||
$self->console_login(user=>'root');
|
$self->console_login(user=>'root');
|
||||||
# clear browser data so we don't go back to the 'admin' login
|
# clear browser data so we don't go back to the 'admin' login
|
||||||
assert_script_run 'rm -rf /root/.mozilla';
|
assert_script_run 'rm -rf /root/.mozilla';
|
||||||
|
# clear kerberos ticket so we don't auto-auth as 'test4'
|
||||||
|
assert_script_run 'kdestroy -A';
|
||||||
type_string "startx /usr/bin/firefox -width 1024 -height 768\n";
|
type_string "startx /usr/bin/firefox -width 1024 -height 768\n";
|
||||||
assert_screen "firefox";
|
assert_screen "firefox";
|
||||||
start_webui("test1", "batterystaple");
|
start_webui("test1", "batterystaple");
|
||||||
|
Loading…
Reference in New Issue
Block a user