adding some notes in documents

This commit is contained in:
Yuming Zhu 2019-05-08 14:44:59 +08:00 committed by Yu Ming Zhu
parent 3b4673879b
commit 0c4d57d958
2 changed files with 29 additions and 0 deletions

View file

@ -588,6 +588,7 @@ Configuration Files
* ``/etc/httpd/conf/httpd.conf``
* ``/etc/httpd/conf.d/kojihub.conf``
* ``/etc/httpd/conf.d/ssl.conf`` (when using ssl auth)
* ``/etc/krb5.conf`` (when using GSSAPI auth)
Install koji-hub
----------------
@ -652,6 +653,24 @@ options should point to where the certificates are located on the hub.
# https://bugs.python.org/issue34670
SSLProtocol TLSv1.2
/etc/krb5.conf
^^^^^^^^^^^^^^
If Apache's mod_auth_gssapi is enabled on hub, ``auth_to_local`` rules should
be configured as below.
::
[realms]
EXAMPLE.COM = {
...
auth_to_local = RULE:[1:$1@$0](.*@OTHER\.COM)s/@.*/@EXAMPLE.COM/
auth_to_local = RULE:[1:$1@$0](.*@EXAMPLE\.COM)
auth_to_local = RULE:[2:$1/$2@$0](.*@OTHER\.COM)s/@.*/@EXAMPLE.COM/
auth_to_local = RULE:[2:$1/$2@$0](.*@EXAMPLE\.COM)
...
}
/etc/koji-hub/hub.conf
^^^^^^^^^^^^^^^^^^^^^^

View file

@ -55,3 +55,13 @@ Alias /kojifiles "/mnt/koji/"
# In this case, you will need to enable these options globally (in ssl.conf):
# SSLVerifyClient require
# SSLVerifyDepth 10
# uncomment this to enable authentication via GSSAPI
# <Location /kojihub/ssllogin>
# AuthType GSSAPI
# GssapiSSLonly Off
# GssapiLocalName On
# AuthName "GSSAPI Single Sign On Login"
# GssapiCredStore keytab:/etc/koji.keytab
# Require valid-user
# </Location>