Thanks for the reply, yes I am sure that the user and pass are correct. as with the same credential other machine work. I also tried with hostname\developer but no luck!
On Monday, August 16, 2021 at 9:04:51 PM UTC+2 [email protected] wrote: > The error represents ERROR_LOGON_FAILURE which according to > https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d > > means > > > Logon failure: Unknown user name or bad password. > > You will want to be 100% sure you have the correct username/password set > for the become user/pass set. I see you are trying to log on as > '.\developer', try just 'developer' or 'HOSTNAME\developer'. > On Friday, August 13, 2021 at 10:44:33 PM UTC+10 [email protected] wrote: > >> >> hi there, >> >> I have a playbook which set runas as the become method, as I run it with >> AWX it wont work on some machine to run any task which has become set to >> yes. and it shows error as bellow. but if I comment "become_method" or set >> it to "sudo"!!! even though I am on windows machine, it runs on both groups >> of my machine. >> >> I checked the web method to activated secondary logon(as regarded to >> error 1326) on failed machine but it did not help. >> >> Does anybody has an Idea? thank you in advance. >> >> Ausnahme beim Aufrufen von "CreateProcessAsUser" mit 9 Argument(en): >> "Failed to logon .\developer (*Der Benutzername oder das Kennwort ist >> falsch, Win32ErrorCode 1326 - 0x0000052E*)" >> >> In Zeile:103 Zeichen:5 >> >> + $result = [Ansible.Become.BecomeUtil]::CreateProcessAsUser($usern ... >> >> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException >> >> + FullyQualifiedErrorId : Win32Exception >> >> ScriptStackTrace: >> >> bei <ScriptBlock>, <Keine Datei>: Zeile 103 >> >> bei <ScriptBlock><End>, <Keine Datei>: Zeile 137 >> >> bei <ScriptBlock>, <Keine Datei>: Zeile 11 >> >> System.Management.Automation.MethodInvocationException: Ausnahme beim >> Aufrufen von "CreateProcessAsUser" mit 9 Argument(en): "Failed to logon >> .\developer (Der Benutzername oder das Kennwort is… >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fce5efeb-977f-407f-b7fd-44a189bcdb1an%40googlegroups.com.
