<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I had seen that thread...
<a class="moz-txt-link-freetext" href="https://www.redhat.com/archives/freeipa-users/2013-November/msg00019.html" target="_blank">
https://www.redhat.com/archives/freeipa-users/2013-November/msg00019.html</a><br>
<br>
all it says is...<br>
<br>
<font color="#000000">On 11/05/2013 02:51 PM, KodaK wrote:
<blockquote cite="" type="cite">
<div dir="ltr">If I use the whole connection string:
<div><br>
</div>
<div>uid=jebalicki,cn=users,cn=accounts,dc=unix,dc=magellanhealth,dc=com<br>
</div>
<div><br>
</div>
<div>I can authenticate.</div>
</div>
</blockquote>
</font>Which i can do successfully, but its not great to have to tell everyone your username for ilo is uid=blah,cn=users,cn=accounts..etc<br>
<br>
There is also mentioned in that thread...<br>
<br>
<font color="#000000">"The HP iLO documentation doesn't list using the uid value as a supported form of specifying the login.  You can use the CN value or the full DN.  They say that "DOMAIN\user" and "user domain" forms are also accepted, but that likely only
 works against Active Directory."<br>
<br>
CN doesn't work. full DN does.<br>
<br>
I don't see any reference to a workaround via compat plugin in that thread.<br>
<br>
Have you got any more info on the compat workaround?<br>
<br>
Thanks,<br>
<br>
Les<br>
</font><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF768698"><font color="#000000" size="2" face="Tahoma"><b>From:</b> freeipa-users-bounces@redhat.com [freeipa-users-bounces@redhat.com] on behalf of Dmitri Pal [dpal@redhat.com]<br>
<b>Sent:</b> Wednesday, January 15, 2014 3:30 AM<br>
<b>To:</b> freeipa-users@redhat.com<br>
<b>Subject:</b> Re: [Freeipa-users] HP ILO Authentication via LDAP (or even kerberos)<br>
</font><br>
</div>
<div></div>
<div>On 01/13/2014 10:44 PM, Les Stott wrote:
<blockquote type="cite"><style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style>
<div class="WordSection1">
<p class="MsoNormal">Been banging my head against the wall on this one for a few days, trying to get a workable configuration for HP ILO to authenticate via FreeIPA.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have a standard rhel6 environment (64 bit 6.4) with freeipa server (ipa-3.0.0-37.el6).</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The following works for me……</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">HP ILO4 Firmware 1.22</p>
<p class="MsoNormal">Default Directory Schema</p>
<p class="MsoNormal">Directory Server Address: fqdn_of_myfreeipaserver</p>
<p class="MsoNormal">Directory Server LDAP Port: 636</p>
<p class="MsoNormal">Directory User Context 1: cn=users,cn=accounts,dc=mydomain,dc=com</p>
<p class="MsoNormal">Directory Groups: cn=sys_admins,cn=groups,cn=accounts,dc=mydomain,dc=com</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">….but only if I login with my full dn….</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Username: uid=less,cn=users,cn=accounts,dc=mydomain,dc=com</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The test settings button in the ILO works only with the full dn.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">It doesn’t work if I use the uid (less), or the cn (Les Stott).</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I can then login to ILO with ….</p>
<p class="MsoNormal">Username: uid=less,cn=users,cn=accounts,dc=mydomain,dc=com</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If I try to login with the cn, Les Stott I see an error in the logs…</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[13/Jan/2014:22:36:29 -0500] ipalockout_postop - [file ipa_lockout.c, line 473]: Failed to retrieve entry "CN=Les Stott,cn=users,cn=accounts,dc=mydomain,dc=com": 32</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve read a lot of things about getting this to work. Apparently there are issues with HP ILO requiring the username in cn format but its in uid format in freeipa. You should also be able to login with your cn, but that doesn’t work.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I had a crack at trying Kerberos authentication as well, but it doesn’t work and errors with “Additional Pre-authentication required”.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Has anyone successfully been able to get HP ILO to work with FreeIPA such that you can login with just the username (i.e. “less”) or the CN (i.e. “Les Stott”)?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Are schema changes required?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Alternatively has anyone been able to get HP ILO to work with Kerberos auth to FreeIPA?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any help would be greatly appreciated.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Les</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
Freeipa-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-users@redhat.com" target="_blank">Freeipa-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a></pre>
</blockquote>
Have you searched freeipa-users archives? The issue sounds familiar and I vaguely recalled there was a workaround.<br>
This is the thread <a class="moz-txt-link-freetext" href="https://www.redhat.com/archives/freeipa-users/2013-November/msg00019.html" target="_blank">
https://www.redhat.com/archives/freeipa-users/2013-November/msg00019.html</a><br>
<br>
I think you can use compat plugin on the IPA to expose the tree in the way HP ILO expects.<br>
<pre class="moz-signature" cols="72">-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager for IdM portfolio
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
<a class="moz-txt-link-abbreviated" href="http://www.redhat.com/carveoutcosts/" target="_blank">www.redhat.com/carveoutcosts/</a>


</pre>
</div>
</div>
</div>
</body>
</html>