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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
9fa0419d
Commit
9fa0419d
authored
7 years ago
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
library/ipanss.py: Check if principal is an empty string
parent
0a8672fc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
library/ipanss.py
+1
-1
1 addition, 1 deletion
library/ipanss.py
with
1 addition
and
1 deletion
library/ipanss.py
+
1
−
1
View file @
9fa0419d
...
@@ -332,7 +332,7 @@ def main():
...
@@ -332,7 +332,7 @@ def main():
# Check that nss is working properly
# Check that nss is working properly
if
not
on_master
:
if
not
on_master
:
user
=
principal
user
=
principal
if
user
is
None
:
if
user
is
None
or
user
==
""
:
user
=
"
admin@%s
"
%
domain
user
=
"
admin@%s
"
%
domain
module
.
log
(
"
Principal is not set when enrolling with OTP
"
module
.
log
(
"
Principal is not set when enrolling with OTP
"
"
; using principal
'
%s
'
for
'
getent passwd
'"
%
user
)
"
; using principal
'
%s
'
for
'
getent passwd
'"
%
user
)
...
...
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