I installed Cygwin on win7 to run a Bash script, which will talk to a Service Provider using Curl / Kerberos. The win7 is part of a domain where a KDC is installed/enabled.
In order to obtain a TGT before running the script, I issued the command from Cygwin: "kinit principal@DOMAIN.COM
". However, I received an error message: "kinit: KRB5 error code 52 while getting initial credentials". The Kerberos library included in my Cygwin is 1.5.2-4.
Google search replies with some hints of UDP vs. TCP with old Kerberos version of 1.2.7. Wireshark captures show that the KRB LIB is using UDP instead of TCP.
Tried to use "udp_preference_limit = 1" to force to use TCP --> no difference. The library still uses UDP.
Tried to use "kdc = tcp/domain.com" -> the KRB library does not recognize it.
What else can I try?
Thank you very much in advance.