-
Notifications
You must be signed in to change notification settings - Fork 163
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
win_domain_computer - add offline domain join support #93
win_domain_computer - add offline domain join support #93
Conversation
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.
Have added a few comments.
Just for my general understanding the offline stuff is still creating the domain object in AD, it just handles all the logic to generate the offline join blob right?
Yes that's correct. |
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.
Looks good, just a question around the temp file deletion handling and if parent dirs are missing. Apart from that I'm happy with the changes.
SUMMARY
Looking to add support for offline domain join, similar to the
ADComputer
DSC resource.Offline Domain Join is usually done with
djoin.exe
and lets you pre-create a computer and get back an opaque BLOB, which you can use on a target machine or machine image to join the machine to the domain, without having to contact a domain controller.A bug I recently found in the DSC resource led me to look at adding the support directly to Ansible instead of continuing to use the DSC resource.
Main changes:
Other changes:
$
fromsam_account_name
is no longer an error; it will be added for youISSUE TYPE
COMPONENT NAME
win_domain_computer
ADDITIONAL INFORMATION