From 380534f72f304670745949d6963328f07356fb4a Mon Sep 17 00:00:00 2001 From: Brian ONeill Date: Wed, 13 Oct 2021 12:29:19 -0400 Subject: [PATCH 1/3] Added in basic auth support --- templates/vhost/_gssapi.epp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/vhost/_gssapi.epp b/templates/vhost/_gssapi.epp index 4f2d9f9114..ba428a2f31 100644 --- a/templates/vhost/_gssapi.epp +++ b/templates/vhost/_gssapi.epp @@ -3,6 +3,7 @@ Optional[String[1]] $credstore = undef, Optional[Enum['On','Off']] $sslonly = undef, Optional[Enum['On','Off']] $localname = undef, + Optional[Enum['On','Off']] $basicauth = undef, |%> # mod_auth_gssapi configuration <% if $sslonly { -%> @@ -11,6 +12,9 @@ <% if $localname { -%> GssapiLocalName <%= $localname %> <% } -%> +<% if $basicauth { -%> + GssapiLocalName <%= $basicauth %> +<% } -%> <% if $credstore { -%> GssapiCredStore <%= $credstore %> <% } -%> From 72230178d07b1b880ca42b0bb773b6ca3a2ace1e Mon Sep 17 00:00:00 2001 From: Brian ONeill Date: Thu, 14 Oct 2021 15:58:10 -0400 Subject: [PATCH 2/3] Added negotiateone option and documentations --- README.md | 1 + manifests/vhost.pp | 2 ++ templates/vhost/_gssapi.epp | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 481cda31b8..746d4e8553 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # apache + [Module description]: #module-description [Setup]: #setup diff --git a/manifests/vhost.pp b/manifests/vhost.pp index b5604dd267..f2386dcd6c 100644 --- a/manifests/vhost.pp +++ b/manifests/vhost.pp @@ -1507,6 +1507,8 @@ # credstore => 'keytab:/foo/bar.keytab', # localname => 'Off', # sslonly => 'On', +# negotiateonce => 'Off', +# basicauth => 'On', # } # }, # ], diff --git a/templates/vhost/_gssapi.epp b/templates/vhost/_gssapi.epp index ba428a2f31..dec2ac26a0 100644 --- a/templates/vhost/_gssapi.epp +++ b/templates/vhost/_gssapi.epp @@ -4,6 +4,8 @@ Optional[Enum['On','Off']] $sslonly = undef, Optional[Enum['On','Off']] $localname = undef, Optional[Enum['On','Off']] $basicauth = undef, + Optional[Enum['On','Off']] $negotiateonce = undef, + |%> # mod_auth_gssapi configuration <% if $sslonly { -%> @@ -12,6 +14,9 @@ <% if $localname { -%> GssapiLocalName <%= $localname %> <% } -%> +<% if $negotiateonce { -%> + GssapiNegotiateOnce <%= $basicauth %> +<% } -%> <% if $basicauth { -%> GssapiLocalName <%= $basicauth %> <% } -%> From 7046ef648e98d9d8135c3bc7ed6f13c6ebff067c Mon Sep 17 00:00:00 2001 From: Brian ONeill Date: Thu, 14 Oct 2021 15:59:59 -0400 Subject: [PATCH 3/3] Fixed typo --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 746d4e8553..481cda31b8 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # apache - [Module description]: #module-description [Setup]: #setup