Delete the mod_auth_kerb configuration settings from the sample kojiweb.conf file. Add the mod_auth_gssapi settings instead.
kojiweb.conf
I tested a config almost identical to this with mod_auth_gssapi-1.5.1-5.el7 and it works.
Would be nice to have consistency in option values. In ssllogin, there is Off (note uppper case O). Also would be nice to have here GssapiSSLonly Off also for consistency reasons.
Off
GssapiSSLonly Off
However, I have tested this on my installation and it works just fine.
Issue #2144
rebased onto 79e1de40612f9a341913d4eb32065c69d9c8bda0
Thanks for the review and testing @ignatenkobrain!
I've changed "off" to "Off" for consistency with the rest of the configuration in the tree.
off
Regarding GssapiSSLonly, I did not realize that we actually recommended turn that off on the hub. That is dangerous. We should actually set Require ssl for all login URLs (/koji/login and /kojihub/ssllogin). I can file a separate PR for that.
GssapiSSLonly
Require ssl
/koji/login
/kojihub/ssllogin
https://pagure.io/koji/pull-request/2162 removes GssapiSSLonly Off from the Koij hub Apache configuration.
I investigated at Require ssl and it gets complicated because we have to wrap it in a <RequireAll> section. We can use the older SSLRequireSSL setting for simplicity. Let's add that in a separate PR, though.
<RequireAll>
SSLRequireSSL
rebased onto b906c760ed6db5dafa15cd678c036eb1ce79fe0a
rebased onto b9c513274dea2b380dd7c360bea701dd401dc701
:thumbsup:
Metadata Update from @tkopecek: - Pull-request tagged with: doc, no_qe
rebased onto 50879c1a8c51958e6fc7cb0b102e7aeed4dd7395
Commit ec5e7e62 fixes this pull-request
Pull-Request has been merged by tkopecek
Delete the mod_auth_kerb configuration settings from the sample
kojiweb.conffile. Add the mod_auth_gssapi settings instead.