krb-error 30 错误代码:KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN 服务器名称(未知) HTTP/Null
我搜索了很多博客文章但无法得到任何解决方案。
我见过很多有类似错误的帖子,但在他们的服务器名称:
HTTP/域名的
情况下,我能够获得用户访问服务器的票证。
但我真的不知道为什么我会收到这种服务器名称为空的错误。
错误是
KRBError:
sTime is Tue Oct 20 10:11:30 EDT 2009 1256047890000
suSec is 548720
error code is 7
error Message is Server not found in Kerberos database
realm is XXX.YYY.COM
sname is HTTP/null
msgType is 30
我的配置文件如下所示:
login.config
com.sun.security.jgss.login {
com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true doNotPrompt=false
debug=true;
};
com.sun.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true
debug=true;
};
com.sun.security.jgss.accept {
com.sun.security.auth.module.Krb5LoginModule required client=TRUE useKeyTab=true
storeKey=true
doNotPrompt=true
principal="HTTP/[email protected]"
isInitiator=false debug=true;
};
krb5.config
[libdefaults]
default_realm = XXX.YYY.COM udp_preference_limit = 1
default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
[realms]
YYY.ZZ.COM= {
admin_server =xxx.yyy.zz.com
kdc = xxx.yyy.zz.com
default_domain = yyy.zz.com
master_kdc = xxx.yyy.zz.com
}
[domain_realm]
.yyy.zz.com= YYY.ZZ.COM
yyy.zz.com= YYY.ZZ.COM
有人可以帮我解决这个问题吗?
提前致谢
I have searched many blog posts but could not get any solution.
I have seen many posts with a similar kind of error but in their case Server Name:
HTTP/Domain Name
I was able to get ticket for the user to go to the server.
But I really dont know why I am getting this kind of error with Server Name as null.
The error is
KRBError:
sTime is Tue Oct 20 10:11:30 EDT 2009 1256047890000
suSec is 548720
error code is 7
error Message is Server not found in Kerberos database
realm is XXX.YYY.COM
sname is HTTP/null
msgType is 30
My Config files are like below:
login.config
com.sun.security.jgss.login {
com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true doNotPrompt=false
debug=true;
};
com.sun.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true
debug=true;
};
com.sun.security.jgss.accept {
com.sun.security.auth.module.Krb5LoginModule required client=TRUE useKeyTab=true
storeKey=true
doNotPrompt=true
principal="HTTP/[email protected]"
isInitiator=false debug=true;
};
krb5.config
[libdefaults]
default_realm = XXX.YYY.COM udp_preference_limit = 1
default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
[realms]
YYY.ZZ.COM= {
admin_server =xxx.yyy.zz.com
kdc = xxx.yyy.zz.com
default_domain = yyy.zz.com
master_kdc = xxx.yyy.zz.com
}
[domain_realm]
.yyy.zz.com= YYY.ZZ.COM
yyy.zz.com= YYY.ZZ.COM
Could anyone help me with this?
Thanks in Advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个开源项目 http://spnego.sourceforge.net 有一些文档和示例。我想这可能就是你所需要的。
This open source project http://spnego.sourceforge.net has some documentation and examples. I think it might be what you need.