Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javax.naming.AuthenticationException in GSSAPI

I'm trying to perform NTLM bind using JAVA GSSAPI.

I'm receiving this error:

javax.naming.AuthenticationException: GSSAPI [Root exception is javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Invalid option setting in ticket request. (101))]]

I think (not sure) it worked in the past. To solve other problem, I tried "kinit". From that point is stopped working. I even deleted the cache file (couldn't find kclear in windows) and, still, I have this issue.

How can I solve it?

like image 971
Matan Avatar asked Nov 04 '22 00:11

Matan


1 Answers

Ok, solved it.

I had

proxiable = true

in my krb5 file.

Removed it and it works!

like image 90
Matan Avatar answered Nov 15 '22 00:11

Matan