mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-11 19:25:54 +00:00
library/ipajoin.py: Fix principal usage with otp
With otp usage the user supplied principal may not be used for join.
This commit is contained in:
@@ -231,7 +231,7 @@ def main():
|
||||
|
||||
options.ca_cert_file = ca_cert_file
|
||||
options.unattended = True
|
||||
options.principal = principal
|
||||
options.principal = principal if principal != "" else None
|
||||
options.force = False
|
||||
options.password = password
|
||||
|
||||
|
||||
Reference in New Issue
Block a user