Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
67261c3d
Unverified
Commit
67261c3d
authored
May 7, 2020
by
Sergio Oliveira
Committed by
GitHub
May 7, 2020
Browse files
Options
Downloads
Plain Diff
Merge pull request #256 from rjeffman/vault_fail_temp_kinit
Fixes usage of Kerberos credentials on Vault module.
parents
84d8fc0c
703ee1c9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/modules/ipavault.py
+3
-0
3 additions, 0 deletions
plugins/modules/ipavault.py
with
3 additions
and
0 deletions
plugins/modules/ipavault.py
+
3
−
0
View file @
67261c3d
...
@@ -463,6 +463,9 @@ def main():
...
@@ -463,6 +463,9 @@ def main():
if
not
valid_creds
(
ansible_module
,
ipaadmin_principal
):
if
not
valid_creds
(
ansible_module
,
ipaadmin_principal
):
ccache_dir
,
ccache_name
=
temp_kinit
(
ipaadmin_principal
,
ccache_dir
,
ccache_name
=
temp_kinit
(
ipaadmin_principal
,
ipaadmin_password
)
ipaadmin_password
)
# Need to set krb5 ccache name, due to context='ansible-freeipa'
if
ccache_name
is
not
None
:
os
.
environ
[
"
KRB5CCNAME
"
]
=
ccache_name
api_connect
(
context
=
'
ansible-freeipa
'
)
api_connect
(
context
=
'
ansible-freeipa
'
)
...
...
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