I’m trying to use Ansible to log into a Windows host, and I’m having issues logging in.
My Ansible server is joined to the domain
DNS lookup works, as well as in reverse
I can log into the Windows hosts as a local user through Ansible
Running something like “id @” works on my Ansible server
The error I am getting is this: “msg”: “kerberos: authGSSClientStep() failed: ((‘Unspecified GSS failure. Minor code may provide more information’, 851968), (‘Server not found in Kerberos database’, -1765328377))”,
I can ping the host, and like I said both DNS and Reverse DNS work. I know for sure the host is joined to the domain, and I’m pretty certain the Linux server is joined to the domain. Any suggestions?
The domain status of the Ansible controller shouldn’t matter. If DNS is working, the typical remaining causes of that error are not using the FQDN of the target host in your Ansible inventory, or that the host’s HTTP SPN has been reassigned to another user.
Also, if you don’t absolutely need to use Kerberos, NTLM or CredSSP are much easier ways to do domain user auth…
I would love to use NTLM or CredSSP because Kerberos is a bit of a PITA it seems. Do those transports require host configuration? If I simply change the transport to ntlm I get:
“msg”: “ntlm: the specified credentials were rejected by the server”
And with CredSSP I get:
“msg”: “credssp: The server did not respond with CredSSP as an available auth method”