Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
samba
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
samba
Commits
82192b68
Commit
82192b68
authored
4 years ago
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
ad-auth: fix compatibility issues with bullseye
parent
63e4f4d2
No related branches found
No related tags found
1 merge request
!3
ad-auth: fix compatibility issues with bullseye
Pipeline
#3012
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ad-auth/tasks/pam.yml
+9
-3
9 additions, 3 deletions
ad-auth/tasks/pam.yml
ad-auth/templates/sssd.conf.j2
+2
-0
2 additions, 0 deletions
ad-auth/templates/sssd.conf.j2
with
11 additions
and
3 deletions
ad-auth/tasks/pam.yml
+
9
−
3
View file @
82192b68
...
...
@@ -14,9 +14,15 @@
-
name
:
check that overwritten pam configs were not updated
fail
:
msg
:
"
The
original
PAM
configs
(unix/sss)
that
we
overwrite
have
changed."
when
:
(pamunix.stat.checksum != '727dc8f53ceaea0264d0877fcbb2a52eb341ff10'
or pamsss.stat.checksum != '3c1d4e9fa522e2ec9729260d3b108ef31df8ef9d')
msg
:
"
The
original
PAM
configs
(sss)
that
we
overwrite
have
changed."
when
:
pamsss.stat.checksum != '3c1d4e9fa522e2ec9729260d3b108ef31df8ef9d'
-
name
:
check that overwritten pam configs were not updated
fail
:
msg
:
"
The
original
PAM
configs
(unix)
that
we
overwrite
have
changed."
when
:
-
pamunix.stat.checksum != '727dc8f53ceaea0264d0877fcbb2a52eb341ff10'
-
pamunix.stat.checksum != 'f3703a58a041745d6b70b9ebb179736653d32ef4'
-
name
:
ensure pam applies customized configs
copy
:
...
...
This diff is collapsed.
Click to expand it.
ad-auth/templates/sssd.conf.j2
+
2
−
0
View file @
82192b68
[sssd]
domains = {{ domain }}
config_file_version = 2
{% if ansible_distribution_major_version|int(default=99) < 11 %}
services = nss, pam
{% endif %}
[pam]
offline_credentials_expiration = 1
...
...
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