apache: Allow setting service name for kerberos authentication.

This commit is contained in:
Timo Makinen 2015-04-10 13:54:21 +03:00
parent 27036136ff
commit 46938f1b07
2 changed files with 4 additions and 1 deletions

View file

@ -493,7 +493,7 @@ class apache::proxy($port="8080",
# Install mod_auth_kerb.
#
class apache::mod::auth_kerb {
class apache::mod::auth_kerb($servicename=undef) {
package { "mod_auth_kerb":
ensure => installed,

View file

@ -18,6 +18,9 @@ Krb5KeyTab /etc/httpd/conf/httpsd.keytab
KrbMethodNegotiate On
KrbAuthoritative On
KrbMethodK5Passwd On
<% if @servicename -%>
KrbServiceName <%= @servicename %>
<% end -%>
#<Location /private>
# SSLRequireSSL