Skip to content
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

Error ON DC01 "internal error: failed to become user 'sevenkingdoms.local\\Administrator' #271

Open
siberfaqih opened this issue Sep 1, 2024 · 2 comments

Comments

@siberfaqih
Copy link

Hi, I've encountred error like this when TASK AD-Trust:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
fatal: [dc01]: FAILED! => {"changed": false, "msg": "internal error: failed to become user 'sevenkingdoms.local\Administrator': Cannot convert argument "exitCode", with value: "3221225477", for "SetShouldExit" to type "System.Int32": "Cannot convert value "3221225477" to type "System.Int32". Error: "Value was either too large or too small for an Int32."""}

Need your help to fix it. Thanks.

@superuser5
Copy link

same problem here, getting error while provisioning GOAD - dc01:

> set_lab GOAD
> install
TASK [trusts : Add trusts between domain] ************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was:    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
fatal: [dc01]: FAILED! => {"changed": false, "msg": "internal error: failed to become user 'sevenkingdoms.local\\administrator': Cannot convert argument \"exitCode\", with value: \"3221225477\", for \"SetShouldExit\" to type \"System.Int32\": \"Cannot convert value \"3221225477\" to type \"System.Int32\". Error: \"Value was either too large or too small for an Int32.\"\""}

PLAY RECAP *******************************************************************************************************************************************************************************************************
dc01                       : ok=10   changed=1    unreachable=0    failed=1    skipped=2    rescued=0    ignored=0   
dc02                       : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
dc03                       : ok=3    changed=0    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0   
srv02                      : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
srv03                      : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

[-] 3 fails abort. 
[-] Something wrong during the provisioning task : ad-trusts.yml 

@Goultarde
Copy link

I have the same problem.
Have you managed to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants