When i attempt to execute a WinRM job, the job seems to hang.
18:56:43 Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
18:56:43 [Krb5LoginModule] user entered username: smbuildmachine@AM.<MYCOMPANY>.COM
18:56:43
18:56:43 principal is smbuildmachine@AM.<MYCOMPANY>.COM
18:56:43 Commit Succeeded
but then the job hangs and spins forever. The job has one script step which does 'invoke reboot wmicimv2/Win32_OperatingSystem'
I had to specify the user as username@<full realm name> rather than just the short domain string for it to authenticate.
^^ notice the auth succeeded. If i enter the wrong password, this fails, so something is going right...
These appear in the rundeck service log after a while:
WARN RequestTargetAuthentication: NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Receive timed out))
WARN RequestTargetAuthentication: KERBEROS authentication error: No valid credentials provided (Mechanism level: Receive timed out)
and the job continues to hang. However, my credentials are correct.. as evidenced by when i enter them wrong, i get:
| [Krb5LoginModule] authentication failed |
| 19:03:06 | Pre-authentication information was invalid (24) |
Any ideas?
project.properties are:
project.winrm-spn-use-http = false
project.winrm-cert-trust = all
project.winrm-hostname-trust = all
project.winrm-kerberos-debug = true
-Ben