<div class="gmail_quote">On Sun, Jun 17, 2012 at 3:27 PM, Simo Sorce <span dir="ltr"><<a href="mailto:simo@redhat.com" target="_blank">simo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Sat, 2012-06-16 at 23:45 +0200, Natxo Asenjo wrote:<br>
> hi,<br>
><br>
> After some initial troubles (thanks rcrit on irc) I got this to work<br>
> nicely. I have used the openfire<br>
> <a href="http://www.igniterealtime.org/projects/openfire/index.jsp" target="_blank">http://www.igniterealtime.org/projects/openfire/index.jsp</a> xmpp/jabber<br>
> server.<br>
><br>
> Instructions here:<br>
><br>
> <a href="http://test.asenjo.nl/index.php/Openfire_ipa" target="_blank">http://test.asenjo.nl/index.php/Openfire_ipa</a><br>
<br>
</div></div>Nice writeup Natxo,<br>
I am curious about the SSO setup. Why did you need to restrict the<br>
keytab to des3 ? Using the default settings (that include AES keys would<br>
be normally better). If it is due to restrictions in the java security<br>
library, you should be able to download a library with full support for<br>
AES from Oracle (they have a separate build due to some export control<br>
stuff that is available for download).<br>
<br></blockquote><div><br>Apparently this is the recommended setting by openfire.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I am also curious about the need to set isInitiator to false. Service<br>
keys in IPA can be used to init security contexts, what kind of failure<br>
did you see setting it to true ? The 'isInitiator=false' may be<br>
necessary in AD where servicePrincipals and userPrincipals are<br>
considered distinct entities and AD forbids servicePrincipals to perform<br>
AS Requests, but this is not limited in IPA, by default you should be<br>
able to initiate just fine.<br>
<br></blockquote><div><br>when I set isInitiator=true; and reload openfire I get this error in the logifle:<br><br> Debug is  true storeKey true useTicketCache false useKeyTab true doNotPrompt true ticketCache is null isInitiator true KeyTab is /opt/openfire/conf/openfire.keytab refreshKrb5Config is false principal is xmpp/ipaclient01.ipa.asenjo.nx@IPA.ASENJO.NX tryFirstPass is false useFirstPass is false storePass is false clearPass is false<br>
principal's key obtained from the keytab<br>Acquire TGT using AS Exchange<br>                [Krb5LoginModule] authentication failed<br>Cannot get kdc for realm IPA.ASENJO.NX<br><br>I am not sure why it does not work, but it doesn't. Believe me, I tried :-)<br>
<br>According to the person who wrote this community doc <a href="http://community.igniterealtime.org/docs/DOC-1522">http://community.igniterealtime.org/docs/DOC-1522</a>: <br><br>" Since the xmpp service principal is only a service principal, and not 
mapped to an actual user account, we need to ensure that Java never 
attempts to treat it like a user account.  In order to assure that, we 
have to add an additional line to gss.conf -- isInitiator.".<br><br>In the AD setups, the isInitiator directive is not necessary, apparently. That is why I could not get it to work with the instructions on their site until I found that clue.<br>
<br>-- <br>groet,<br>natxo<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
HTH,<br>
Simo.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Simo Sorce * Red Hat, Inc * New York<br>
<br>
</font></span></blockquote></div><br>