Skip to content
Snippets Groups Projects
Commit b26b223d authored by Thomas Woerner's avatar Thomas Woerner
Browse files

library/ipanss.py: principal option is optional

parent e5b6eb23
Branches
Tags
No related merge requests found
...@@ -52,7 +52,7 @@ options: ...@@ -52,7 +52,7 @@ options:
required: true required: true
principal: principal:
description: The authorized kerberos principal used to join the IPA realm. description: The authorized kerberos principal used to join the IPA realm.
required: true required: false
subject_base: subject_base:
description: The subject base, needed for certmonger description: The subject base, needed for certmonger
required: true required: true
...@@ -115,7 +115,7 @@ def main(): ...@@ -115,7 +115,7 @@ def main():
realm=dict(required=True), realm=dict(required=True),
hostname=dict(required=True), hostname=dict(required=True),
basedn=dict(required=True), basedn=dict(required=True),
principal=dict(required=True), principal=dict(required=False),
subject_base=dict(required=True), subject_base=dict(required=True),
ca_enabled=dict(required=True, type='bool'), ca_enabled=dict(required=True, type='bool'),
mkhomedir=dict(required=False), mkhomedir=dict(required=False),
...@@ -137,9 +137,9 @@ def main(): ...@@ -137,9 +137,9 @@ def main():
mkhomedir = module.params.get('mkhomedir') mkhomedir = module.params.get('mkhomedir')
on_master = module.params.get('on_master') on_master = module.params.get('on_master')
###########################################################################
fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE) fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE)
statestore = sysrestore.StateFile(paths.IPA_CLIENT_SYSRESTORE) statestore = sysrestore.StateFile(paths.IPA_CLIENT_SYSRESTORE)
########################################################################### ###########################################################################
os.environ['KRB5CCNAME'] = CCACHE_FILE os.environ['KRB5CCNAME'] = CCACHE_FILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment