head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.05.16.03.47.29; author riastradh; state Exp; branches; next ; commitid wFjx2WockSgdsZFG; desc @@ 1.1 log @ap24-auth-gssapi: Import apache2.4 module mod_auth_gssapi-1.6.5 This is a modern replacement for mod_auth_kerb (www/ap-auth-kerb), built with the standardized GSSAPI rather than with the not-quite-so standardized libkrb5. @ text @$NetBSD$ Accept disagreement between mit-krb5 and heimdal of case in human-readable short mechanism name from gss_inquire_saslname_for_mech. --- tests/t_mech_name.py.orig 2020-11-30 18:30:59.760815267 +0000 +++ tests/t_mech_name.py @@@@ -13,7 +13,9 @@@@ if __name__ == '__main__': if r.status_code != 200: raise ValueError('Basic Auth Failed') - if r.text.rstrip() != 'Basic/krb5': + # mit-krb5 returns `krb5'; heimdal returns `KRB5' -- maybe this + # should use the SASL name, which is formally registered with IANA + if r.text.rstrip().casefold() != 'basic/krb5': raise ValueError( 'GSS_MECH check failed, expected Basic/krb5, got "%s"' % r.text.rstrip()) @