<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19222">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,&nbsp;<BR>&nbsp; I have finished the connectiong idp2.3.3 
and ldap on linux and everything is working just fine with ldap authentication 
using sp,now I want to trying to setup kerberos authentication. They are 
installed in the same computer.<BR>&nbsp; But the idp_process.log lists the 
error: <BR>&nbsp;&nbsp; 09:13:46.538 - ERROR 
[edu.internet2.middleware.shibboleth.common.config.BaseSer<BR>vice:188] - 
Configuration was not loaded for shibboleth.AttributeResolver servi<BR>ce, error 
creating components.&nbsp; The root cause of this error was: 
org.xml.sax.S<BR>AXParseException: cvc-identity-constraint.4.3: Key 
'DataConnectorAttributeDefin<BR>itionDependencyRef' with value 'HTTP' not found 
for identity constraint of elem<BR>ent 'AttributeResolver'.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp; My configure file are listed below:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp; attribute-resolver.xml</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; &lt;!-- Example LDAP Connector 
--&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; &lt;resolver:DataConnector id="myLDAP" 
xsi:type="dc:LDAPDirectory"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ldapURL="<A 
href="ldap://ldap.ihep.ac.cn">ldap://ldap.ihep.ac.cn</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
baseDN="ou=people,dc=ihep,dc=ac,dc=cn"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
principal="cn=root,dc=ihep,dc=ac,dc=cn"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
principalCredential="123456"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
lowercaseAttributeNames="true"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;resolver:Dependency ref="HTTP" 
/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resolver:Dependency 
ref="ihep.ac.cn" /&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;dc:FilterTemplate&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;![CDATA[<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(uid=$requestContext.principalName)(&amp;(samaccountname=${krb_principalname.get(0)})(msSFU30NisDomain=${krb_domain.get(0)})))(objectclass=user))</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
]]&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/dc:FilterTemplate&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; 
&lt;/resolver:DataConnector&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>handler.xml<BR>&nbsp;&lt;!-- Kerberos Idp 
--&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;ph:LoginHandler 
xsi:type="krb:KERBEROS"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
kerberosCfg="/etc/krb5.conf"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
customUnauthorized="/usr/local/java-idp-kerberos-login-handler/examples/unauthorized.html"<BR>&nbsp;&nbsp;&nbsp; 
&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;ph:AuthenticationMethod&gt;urn:oasis:names:tc:SAML:2.0:ac:classes:Kerberos&lt;/ph:AuthenticationMethod&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;krb:Realm 
domain="IHEP.AC.CN"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;krb:principal&gt;HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN&lt;/krb:principal&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;krb:keytab&gt;/etc/http.keytab&lt;/krb:keytab&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/krb:Realm&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/ph:LoginHandler&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>login.xml<BR>ShibUserPassAuth {</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>// Example LDAP authentication<BR>&nbsp;&nbsp;&nbsp; 
edu.vt.middleware.ldap.jaas.LdapLoginModule 
required<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ldapUrl="<A 
href="ldap://ldap.ihep.ac.cn">ldap://ldap.ihep.ac.cn</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
baseDn="ou=people,dc=ihep,dc=ac,dc=cn"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ssl="false";</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp; com.sun.security.auth.module.Krb5LoginModule 
required<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
useKeyTab="true"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
keyTab="/etc/http.keytab";<BR>};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I have added HTTP principal in kdc.<BR>#kadmin.local 
<BR>kadmin.local:&nbsp; addprinc HTTP/kerberos.ihep.ac.cn<BR>WARNING: no policy 
specified for <A 
href="mailto:HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN">HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN</A>; 
defaulting to no policy<BR>Enter password for principal "<A 
href="mailto:HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN">HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN</A>": 
<BR>Re-enter password for principal "<A 
href="mailto:HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN">HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN</A>": 
<BR>Principal "<A 
href="mailto:HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN">HTTP/kerberos.ihep.ac.cn@IHEP.AC.CN</A>" 
created.<BR>kadmin.local:&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># kadmin.local<BR>Authenticating as principal <A 
href="mailto:HTTP/admin@IHEP.AC.CN">HTTP/admin@IHEP.AC.CN</A> with 
password.<BR>kadmin.local:&nbsp; ktadd -k /etc/http.keytab 
HTTP/kerberos.ihep.ac.cn<BR>Entry for principal HTTP/kerberos.ihep.ac.cn with 
kvno 2, encryption type AES-256 CTS mode with 96-bit SHA-1 HMAC added to keytab 
WRFILE:/etc/http.keytab.<BR>Entry for principal HTTP/kerberos.ihep.ac.cn with 
kvno 2, encryption type AES-128 CTS mode with 96-bit SHA-1 HMAC added to keytab 
WRFILE:/etc/http.keytab.<BR>Entry for principal HTTP/kerberos.ihep.ac.cn with 
kvno 2, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab 
WRFILE:/etc/http.keytab.<BR>Entry for principal HTTP/kerberos.ihep.ac.cn with 
kvno 2, encryption type ArcFour with HMAC/md5 added to keytab 
WRFILE:/etc/http.keytab.<BR>Entry for principal HTTP/kerberos.ihep.ac.cn with 
kvno 2, encryption type DES with HMAC/sha1 added to keytab 
WRFILE:/etc/http.keytab.<BR>Entry for principal HTTP/kerberos.ihep.ac.cn with 
kvno 2, encryption type DES cbc mode with RSA-MD5 added to keytab 
WRFILE:/etc/http.keytab.<BR>kadmin.local: </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Anyone has experience on idp connection kerberos, Please give 
me some advise about it.<BR>thank you very much!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Best Regards.<BR>xingcy</FONT></DIV></BODY></HTML>