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
d99dcbbf
Commit
d99dcbbf
authored
Oct 5, 2017
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
library/ipajoin.py: Fixed comment for missing keytab
parent
99c08918
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
library/ipajoin.py
+3
-3
3 additions, 3 deletions
library/ipajoin.py
with
3 additions
and
3 deletions
library/ipajoin.py
+
3
−
3
View file @
d99dcbbf
...
@@ -333,7 +333,7 @@ def main():
...
@@ -333,7 +333,7 @@ def main():
changed
=
True
changed
=
True
module
.
log
(
"
Enrolled in IPA realm %s
"
%
realm
)
module
.
log
(
"
Enrolled in IPA realm %s
"
%
realm
)
# F
ix
missing krb5.keytab
file for
already joined host
# F
ail for
missing krb5.keytab
on
already joined host
if
already_joined
and
not
os
.
path
.
exists
(
paths
.
KRB5_KEYTAB
):
if
already_joined
and
not
os
.
path
.
exists
(
paths
.
KRB5_KEYTAB
):
module
.
fail_json
(
msg
=
"
krb5.keytab missing! Retry with ipaclient_force_join=yes to generate a new one.
"
)
module
.
fail_json
(
msg
=
"
krb5.keytab missing! Retry with ipaclient_force_join=yes to generate a new one.
"
)
...
@@ -351,8 +351,8 @@ def main():
...
@@ -351,8 +351,8 @@ def main():
attempts
=
kinit_attempts
)
attempts
=
kinit_attempts
)
env
[
'
KRB5CCNAME
'
]
=
os
.
environ
[
'
KRB5CCNAME
'
]
=
paths
.
IPA_DNS_CCACHE
env
[
'
KRB5CCNAME
'
]
=
os
.
environ
[
'
KRB5CCNAME
'
]
=
paths
.
IPA_DNS_CCACHE
except
gssapi
.
exceptions
.
GSSError
as
e
:
except
gssapi
.
exceptions
.
GSSError
as
e
:
# failure to get ticket makes it impossible to login and
bind
# failure to get ticket makes it impossible to login and
# from sssd to LDAP, abort installation
and rollback changes
#
bind
from sssd to LDAP, abort installation
module
.
fail_json
(
msg
=
"
Failed to obtain host TGT: %s
"
%
e
)
module
.
fail_json
(
msg
=
"
Failed to obtain host TGT: %s
"
%
e
)
finally
:
finally
:
...
...
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