-
Notifications
You must be signed in to change notification settings - Fork 24
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
The system cannot find the file specified. #88
Comments
Unfortunately as the error is happening inside |
I ran the command outside of ansible and In this instance it also seems that this was caused by the OU not existing as its a test lab, I have removed that and it works now. Not sure if it would be a good idea to add a message if this error happens to warn users it could be an incorrect OU path? |
It would be a nice idea except that it would require a fair bit of code to resolve the domain controller hostname to actually do the ldap queries. I’m not sure if there is a builtin Windows mechanism to do so outside of what Add-Computer does internally. |
I've just merged #92 which tries to catch this particular error and add on a note saying to check the |
SUMMARY
Trying to join a number of Windows server 2022 to a test domain and they all keep failing saying "the system cannot find the file specified.
ISSUE TYPE
COMPONENT NAME
microsoft.ad.membership
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Server 2022
STEPS TO REPRODUCE
I am using the following play:
with these groupvars:
EXPECTED RESULTS
Servers should be joined to the domain
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: