2009-10-20 26 views
2

我搜索了很多博客文章,但無法獲得任何解決方案。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  

任何人都可以幫助我嗎?

由於提前

回答

相關問題