GSSAPI中的javax.naming.AuthenticationException [英] javax.naming.AuthenticationException in GSSAPI

查看:375
本文介绍了GSSAPI中的javax.naming.AuthenticationException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用JAVA GSSAPI执行NTLM绑定。

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

我收到此错误:

javax.naming.AuthenticationException:GSSAPI [根异常是javax.security.sasl.SaslException:GSS启动失败[由GSS异常引起:未提供有效凭据(机制级别:故障单请求中的选项设置无效) 。(101))]]

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))]]

我认为(不确定)它过去有效。为了解决其他问题,我尝试了kinit。从那时起停止工作。我甚至删除了缓存文件(在Windows中找不到kclear),而且,我还有这个问题。

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.

我该如何解决?

推荐答案

好的,解决了。

我有

proxiable = true

proxiable = true

在我的krb5文件中。

in my krb5 file.

删除它并且它有效!

这篇关于GSSAPI中的javax.naming.AuthenticationException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆