<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Microsoft Himalaya";
        panose-1:1 1 1 0 1 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Frederic,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I eventually gave up on using krb against AD and I now use LDAP which works quite well – and as an added benefit relieves you from having to map principals.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>In a recent situation when I had to work against a (non AD) Krb I had to do the enable_weak_crypto thing as well as setting the <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR style='color:#1F497D'>default_tkt_enctypes = des-cbc-crc<o:p></o:p></span></p><p class=MsoNormal><span lang=FR style='color:#1F497D'>default_tgs_enctypes = des-cbc-crc<o:p></o:p></span></p><p class=MsoNormal><span lang=FR style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR style='color:#1F497D'>in [libdefaults]<o:p></o:p></span></p><p class=MsoNormal><span lang=FR style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>However, I should note that I am far from a being a Kerberos expert, and that you should think very seriously before enabling weakened security on any system.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Rod<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@shibboleth.net [mailto:users-bounces@shibboleth.net] <b>On Behalf Of </b>MOTTE Frederic<br><b>Sent:</b> 20 December 2011 07:09<br><b>To:</b> users@shibboleth.net<br><b>Subject:</b> Crypto with the Kerberos Login Handler<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black;background:white'>Hi,<span class=apple-converted-space> </span></span><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><br><br><span style='background:white'>I have a AD on a windows 2008R2 and the idp is on a debian (jdk 1.6.0_29-b11)<span class=apple-converted-space> </span></span><br><br><span style='background:white'>I have some problem using the kerberos login handler.<span class=apple-converted-space> </span></span><br><span style='background:white'>My first test was to create a keytab using the RC4-HMAC crypto.<span class=apple-converted-space> </span></span><br><span style='background:white'>C:\Users\Administrateur>ktpass -princ <a href="mailto:HTTP/idp.cersso.com@CERSSO.COM">HTTP/idp.cersso.com@CERSSO.COM</a> -pass Master2008 -mapuser idp -out c:\temp\idp.http.keytab -ptype KRB5_NT_PRINCIPAL -crypto RC4-HMAC-NT kvno 0<span class=apple-converted-space> </span></span><br><br><span style='background:white'>When I use it on the debian platform to realise the kinit, it's OK but when I use is into the loginHandler configuration, I have a checksum exception. In the wiki, the possible solutions are to activate the DES into the user profil or update the JKD version (if under 1.5.xxx)<span class=apple-converted-space> </span></span><br><br><span style='background:white'>consequently, I try to realise a keytab with the DES-CBC-MD5 crypto option, and when I realise the kinit in order to validate the keytab, I have the following error :<span class=apple-converted-space> </span></span><br><br><span style='background:white'>kinit (v5), KDC has no support for encrytpion type while getting initial credentials.<span class=apple-converted-space> </span></span><br><br><span style='background:white'>Can you help me in order to solve the crypto problem?<span class=apple-converted-space> </span></span><br><br></span><span lang=FR style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black;background:white'>Thanks for any help.<span class=apple-converted-space> </span></span><span lang=FR style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><br><br><span style='background:white'>Frederic<span class=apple-converted-space> </span></span></span><span lang=FR><o:p></o:p></span></p><p class=MsoNormal><span lang=FR><o:p> </o:p></span></p><div><div><p class=MsoNormal><span lang=FR>[@@THALES GROUP RESTRICTED@@]<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=FR><o:p> </o:p></span></p></div></div></body></html>