summaryrefslogtreecommitdiffstats
path: root/tests/magtests.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-07-07 13:23:57 -0400
committerSimo Sorce <simo@redhat.com>2015-07-07 13:23:57 -0400
commit4e7967e797e5c8912a67c0de8f172bb95b5172ff (patch)
tree949409b5cce123862909fc16e505c66889d08da4 /tests/magtests.py
parent47de8ee6c742264ff03e9e3786cca3dabbedff4c (diff)
downloadmod_auth_gssapi-4e7967e797e5c8912a67c0de8f172bb95b5172ff.tar.gz
mod_auth_gssapi-4e7967e797e5c8912a67c0de8f172bb95b5172ff.tar.xz
mod_auth_gssapi-4e7967e797e5c8912a67c0de8f172bb95b5172ff.zip
Fix checks on allowed mechs
We need to check if a mech is allowed against the desired_mechs set. Otherwise in case the admin does not explicitly specify an allowed set then all mechs are allowed, including NTLM. This causes annoying issues with browsers like Firefox and Chrome/ium which end up popping up an authentication dialog if they see NTLM is supported and they have no Kerberos tickets around. Authentication will then simply fail because NTLM is not actually supported. By using desired_mechs we use a list of mechanism the machine actually has a chance to support in the default case. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'tests/magtests.py')
0 files changed, 0 insertions, 0 deletions