Switch epylog to krb5

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-11-24 19:53:51 +00:00
parent 5b6f50f69d
commit c8f5fa271c
2 changed files with 14 additions and 5 deletions

View file

@ -23,6 +23,12 @@
- epylog
- openvpn/client
- awstats
- role: keytab/service
owner_user: apache
owner_group: apache
service: HTTP
host: "admin.fedoraproject.org"
when: env == "production"
tasks:
- include: "{{ tasks }}/yumrepos.yml"

View file

@ -6,10 +6,13 @@ LoadModule authn_file_module modules/mod_authn_file.so
<Directory /srv/web/epylog>
Options FollowSymLinks Indexes
AuthType Basic
AuthName "Fedora Log Server"
AuthBasicProvider file
AuthUserFile /srv/web/epylog/.htpasswd
Require valid-user
AuthName "Epylog GSSAPI Login"
GssapiCredStore keytab:/etc/krb5.HTTP_admin.fedoraproject.org.keytab
AuthType GSSAPI
# This is off because Apache (and thus mod_auth_gssapi) doesn't know this is proxied over TLS
GssapiSSLonly Off
GssapiLocalName on
# This should coincide with sysadmin-logs until we have group info
Require user codeblock kevin puiterwijk ralph smooge nb cydrobolt
</Directory>