apache: Allow setting service name for kerberos authentication.
This commit is contained in:
parent
27036136ff
commit
46938f1b07
2 changed files with 4 additions and 1 deletions
|
@ -493,7 +493,7 @@ class apache::proxy($port="8080",
|
||||||
|
|
||||||
# Install mod_auth_kerb.
|
# Install mod_auth_kerb.
|
||||||
#
|
#
|
||||||
class apache::mod::auth_kerb {
|
class apache::mod::auth_kerb($servicename=undef) {
|
||||||
|
|
||||||
package { "mod_auth_kerb":
|
package { "mod_auth_kerb":
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
|
|
|
@ -18,6 +18,9 @@ Krb5KeyTab /etc/httpd/conf/httpsd.keytab
|
||||||
KrbMethodNegotiate On
|
KrbMethodNegotiate On
|
||||||
KrbAuthoritative On
|
KrbAuthoritative On
|
||||||
KrbMethodK5Passwd On
|
KrbMethodK5Passwd On
|
||||||
|
<% if @servicename -%>
|
||||||
|
KrbServiceName <%= @servicename %>
|
||||||
|
<% end -%>
|
||||||
|
|
||||||
#<Location /private>
|
#<Location /private>
|
||||||
# SSLRequireSSL
|
# SSLRequireSSL
|
||||||
|
|
Loading…
Add table
Reference in a new issue