<div class="gmail_quote">2013/3/19 Jakub Hrozek <span dir="ltr">&lt;<a href="mailto:jhrozek@redhat.com" target="_blank">jhrozek@redhat.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Tue, Mar 19, 2013 at 01:56:20PM -0400, Mathieu Lemoine wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I have sssd 1.9.4 (from<br>
&gt; <a href="https://launchpad.net/~nicholas-hatch/+archive/auth/+packages" target="_blank">https://launchpad.net/~nicholas-hatch/+archive/auth/+packages</a>) configured<br>
&gt; on an OpenLDAP server.<br>
&gt; getent passwd, getent group, authentication and cache is working great.<br>
&gt;<br>
&gt; My issue now lies with the SSH public key.<br>
&gt;<br>
&gt; My user has the ldapPublicKey objectClass, and the key is in the<br>
&gt; sshPublicKey attribute.<br>
&gt;<br>
&gt; sss_ssh_authorizedkeys is still returning &quot;Error looking up public keys&quot;.<br>
&gt; An inquiry on the #sssd chan directed me to this mailing-list and more<br>
&gt; precisely to jcholast, I tried to check out the commits, but nothing seems<br>
&gt; to get out of it...<br>
<br>
</div>Full disclosure: I was the one who redirected Mathieu to you, Honza :-)<br>
<div class="im"><br>
&gt;<br>
&gt; If any of you had informations regarding that, it&#39;d be greatly appreciated.,<br>
&gt; Mathieu.<br>
<br>
</div>I think as a first step, it would be nice to put debug_level=8 into the<br>
[ssh] section of the sssd.conf file, restart the SSSD and then attach<br>
the ssh responder logs (/var/log/sssd/sssd_nss.log).<br>
<br>
Also the sssd.conf (sanitized if needed) would come handy.<br></blockquote><div> </div></div>The sssd.conf is simple enough (I attached a cleaned version, I only changed the domain name and dc=* records for &quot;office&quot;, anyway, authentication and getent are working just fine, so the connection to my LDAP is not the issue).<br>

<br>Regarding the logs, with debug_level 10, I can see nothing related to ssh in 
sssd_nss.log. However, I have the following lines in sssd_office.log:<br><br>(Tue Mar 19 14:21:11 2013) [sssd[be[office]]] [sdap_attrs_add_ldap_attr] (0x2000): sshPublicKey is not available for [mlemoine].<br><br>(Got one per user every ten seconds)<br>

<br>However, sshPublicKey is in my user (mlemoine), which is also the only user with an sshPublicKey attribute.<br><br>Did I miss something?<br><br>Thanks for your help.<br>