javax.naming.AuthenticationException in GSSAPI
Asked Answered
C

2

6

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?

Clarino answered 15/4, 2013 at 8:11 Comment(0)
C
2

Ok, solved it.

I had

proxiable = true

in my krb5 file.

Removed it and it works!

Clarino answered 15/4, 2013 at 9:43 Comment(0)
R
0

I had the same problem (exactly the same Java error stack) for Kerberos tickets that were not created as Forwardable.

A Kerbros ticket renewal/monitor process was written in Perl and used Authen::Krb5::Easy Perl module and that is ignoring /etc/krb5.conf "forwardable = true" setting.

Rorqual answered 9/11, 2015 at 3:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.