-
-
Notifications
You must be signed in to change notification settings - Fork 6
Added comments based on my current understanding of the orchestration code for obtaining keytabs from AD #602
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
base: main
Are you sure you want to change the base?
Conversation
let mut stdin = child | ||
.stdin | ||
.take() | ||
.expect("Failed to read from stdin of stackable-krb5-provision-keytab script! "); |
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.
I think this is a bit more accurate, but not sure
.expect("Failed to read from stdin of stackable-krb5-provision-keytab script! "); | |
.expect("Failed to read from stdin of stackable-krb5-provision-keytab command! "); |
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.
I must've missed that.. it's not even about reading, it's about taking ownership of the pipe. If it fails then you either didn't set up the pipe correctly (stdin(Stdio::piped())
), or already took the pipe elsewhere.
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.
I just saw that you provided more details in #602 (comment), thanks!
Description
I read a small part of the code that is used to generate keytabs from AD and noted down my understanding in comments.
Not sure if correct or helpful to actually merge, but by opening a PR I hope to have a place for discussion.
Definition of Done Checklist
Author