-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
realm: add methods for realm utility #153
base: master
Are you sure you want to change the base?
Conversation
08c9668
to
f088f76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I think it looks good. See the comments inline.
Besides this, I have the same comments about restore as I have in the adcli PR: #145 (review) ... we can rely on IPAHost/ADHost backup/restore, but it needs to be documented. Since realm join
generates keytab and sssd configuration, fs.backup should be called first.
sssd_test_framework/utils/realmd.py
Outdated
""" | ||
if args is None: | ||
args = [] | ||
dom = domain.upper() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
sssd_test_framework/utils/realmd.py
Outdated
args = [] | ||
return self.host.conn.exec(["realm", "list", *args]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separate with blank line, same on other places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
realm utility is a tool manage enrollment in realm. This PR is adding methods provided by realm utility.
f088f76
to
53d14a8
Compare
realm utility is a tool manage enrollment in realm. This PR is adding methods provided by realm utility.