Closed jaimusx closed 1 year ago
The current code that Ansible uses when targeting a Kerberos endpoint is to use the WSMan service which I've noticed for some servers isn't present (domain controllers mostly). What you can do is set ansible_psrp_negotiate_service=http
to use the http
SPN service component and things should start working.
That did the trick! Thank you immensely Jordan. You have my utmost gratitude!
You’re welcome.
Hi,
I have been successful in setting up PSRP connections for the majority of my servers (over 90% successful), but I have a small number that will not connect. Here is the following error:
"msg": "Unexpected failure during module execution: SpnegoError (4294967295): Major (851968): Unspecified GSS failure. Minor code may provide more information, Minor (2529638919): Server not found in Kerberos database, Context: Processing security token", "stdout": ""
These are the settings Im using in my ini file:
This is what I am using in my krb5.conf file for the libdefaults:
Here is the full error traceback:
I am wondering if this is a config issue on my end or there is something on the server side or some sort of group policy on the servers. Its strange that I can connect to the majority of the servers but only a small number are unreachable. Any help you can provide is immensely appreciated. Thanks in advance.