Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puppetpublic
base
Commits
6ff95828
Commit
6ff95828
authored
8 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
add kerberos rdns option
parent
69c28d0d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+8
-0
8 additions, 0 deletions
NEWS
manifests/kerberos.pp
+10
-3
10 additions, 3 deletions
manifests/kerberos.pp
templates/kerberos/krb5.conf.erb
+5
-0
5 additions, 0 deletions
templates/kerberos/krb5.conf.erb
with
23 additions
and
3 deletions
NEWS
+
8
−
0
View file @
6ff95828
release/005.005 (unreleased)
[kerberos] Add the option rdns_enabled so that Kerberos can be
configured not to require clients to do a reverse DNS lookup on the
hostname of a service principal. The default is set to true, so
unless specifically overridden to false Kerberos
clients will behave as they always have. [adamhl]
release/005.004 (2017-01-09)
[os] Change the exec resource in the 'aptitude' staged
...
...
This diff is collapsed.
Click to expand it.
manifests/kerberos.pp
+
10
−
3
View file @
6ff95828
...
...
@@ -25,10 +25,17 @@
# (lookin' at you Java!) work better with TCP. Set this parameter to
# "true" to force the client to prefer TCP to UDP.
# Default: false
#
# $rdns_enabled: if 'true' have the Kerberos client do a reverse DNS
# lookup on the hostname when connecting to a server. This should be set
# to 'false' if you want the client to be able to connect to services where
# the service name's IP address PTR record may not match the hostname
# (e.g., for services running in Amazon Web Services).
# Default: true
class
base::kerberos
(
$prefer_tcp
=
false
,
$krb_env
=
'prod'
,
$prefer_tcp
=
false
,
$krb_env
=
'prod'
,
$rdns_enabled
=
true
,
){
# We only allow the 'prod', 'uat', and 'test' environments.
...
...
This diff is collapsed.
Click to expand it.
templates/kerberos/krb5.conf.erb
+
5
−
0
View file @
6ff95828
...
...
@@ -50,6 +50,11 @@
forwardable = true
noaddresses = true
allow_weak_crypto = true
<%-
if
(
@rdns_enabled
)
then
-%>
rdns = true
<%-
else
-%>
rdns = false
<%-
end
-%>
<%
if
(
@prefer_tcp
)
then
-%>
udp_preference_limit = 1
<%
end
-%>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment