doc: use newer configuration boilerplate for kojira

The Server Howto documentation describes how to configure Kerberos
authentication in kojira.conf.

Prior to this change, the Server Howto documentation's boilerplate
configuration copied the older stale format.
eea730300a added a dedicated section for
Kerberos authentication to kojira.conf. Copy this newer format into the
Server Howto documentation.

This also updates our Server Howto document to use the default
/etc/kojira/kojira.keytab file path, which we added in
f232e49194.
This commit is contained in:
Ken Dreyer 2020-04-21 10:58:41 -06:00 committed by Tomas Kopecek
parent b13487d34f
commit c932f4cdbc

View file

@ -1313,11 +1313,19 @@ Authentication Configuration
::
; For Kerberos authentication
; the principal to connect with
principal=koji/kojira@EXAMPLE.COM
; The location of the keytab for the principal above
keytab=/etc/kojira.keytab
;configuration for Kerberos authentication
;the kerberos principal to use
;principal = kojira@EXAMPLE.COM
;location of the keytab
;keytab = /etc/kojira/kojira.keytab
;the service name of the principal being used by the hub
;krbservice = host
;The realm of server principal. Using client's realm if not set
;krb_server_realm = EXAMPLE.COM
``/etc/sysconfig/kojira``
The local user kojira runs as needs to be able to read and write to