<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=5&amp;t=724" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2012-04-23T14:14:33+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=724</id>
<entry>
<author><name><![CDATA[bjankowski]]></name></author>
<updated>2012-04-23T14:14:33+01:00</updated>
<published>2012-04-23T14:14:33+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=724&amp;p=3021#p3021</id>
<link href="https://forum.yubico.com/viewtopic.php?t=724&amp;p=3021#p3021"/>
<title type="html"><![CDATA[Re: YubiRADIUS LDAPS failures]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=724&amp;p=3021#p3021"><![CDATA[
So it turned out it was a problem with gnuTLS i debian with self-sgined certs. <br />Bug desc. here:<a href="https://bugs.launchpad.net/ubuntu/+source/gnutls13/+bug/397636" class="postlink">https://bugs.launchpad.net/ubuntu/+source/gnutls13/+bug/397636</a><br /><br />What I did was to disable certificate check in <strong>/etc/ldap.conf </strong>option <strong>TLS_REQCERT</strong><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2007">bjankowski</a> — Mon Apr 23, 2012 2:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bjankowski]]></name></author>
<updated>2012-04-19T12:46:08+01:00</updated>
<published>2012-04-19T12:46:08+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=724&amp;p=3012#p3012</id>
<link href="https://forum.yubico.com/viewtopic.php?t=724&amp;p=3012#p3012"/>
<title type="html"><![CDATA[Re: YubiRADIUS LDAPS failures]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=724&amp;p=3012#p3012"><![CDATA[
Hi,<br />I seem to have a simillar problem. Did you manage to solve it?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2007">bjankowski</a> — Thu Apr 19, 2012 12:46 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[schmoel]]></name></author>
<updated>2012-03-22T04:06:02+01:00</updated>
<published>2012-03-22T04:06:02+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=724&amp;p=2976#p2976</id>
<link href="https://forum.yubico.com/viewtopic.php?t=724&amp;p=2976#p2976"/>
<title type="html"><![CDATA[Re: YubiRADIUS LDAPS failures]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=724&amp;p=2976#p2976"><![CDATA[
Hi <br /><br />For all these self-signing issues I usually fall back to stunnel.<br /><br />The following configuration (/etc/stunnel/stunnel.conf typically on Linux) will enable you to have your LDAP client connect to localhost on 389 and stunnel will take care of the LDAPS trunking to your desintation. Check &quot;http://www.stunnel.org/?page=howto&quot; at <!-- m --><a class="postlink" href="http://www.stunnel.org/?page=howto">http://www.stunnel.org/?page=howto</a><!-- m --> for how to turn on SSL cert validation if you need it.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">client = yes<br /><br />&#91;ldap&#93;<br />accept = 127.0.0.1:389<br />connect = target.ldaps.server.com:636<br /></div><br /><br />JC<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1998">schmoel</a> — Thu Mar 22, 2012 4:06 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[wirefall]]></name></author>
<updated>2011-11-21T03:39:19+01:00</updated>
<published>2011-11-21T03:39:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=724&amp;p=2841#p2841</id>
<link href="https://forum.yubico.com/viewtopic.php?t=724&amp;p=2841#p2841"/>
<title type="html"><![CDATA[Re: YubiRADIUS LDAPS failures]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=724&amp;p=2841#p2841"><![CDATA[
Some additional information...<br /><br />Under Users Import -&gt; User Import Configuration Management<br /><br />If YubiRADIUS is configured to use a secure connection it is possible to import users, but Radtest and external radius authentication fail until the setting is reverted to an unsecured connection.<br /><br />To validate that user import was actually occurring over LDAPS, I disabled plain LDAP on the external LDAP server and validated that only LDAPS was running. It is still possible to import users. Radtest and external radius authentication continue to fail. Re-enabling LDAP on the external server and setting YubiRADIUS to not use secure authentication allow Radtest and external radius authentication to succeed.<br /><br />So, I guess I should rephrase my question: Has anyone used YubiRADIUS to successfully authenticate against an external LDAPS server? If so, would you mind sharing what steps were required?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1866">wirefall</a> — Mon Nov 21, 2011 3:39 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[wirefall]]></name></author>
<updated>2011-11-12T08:28:10+01:00</updated>
<published>2011-11-12T08:28:10+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=724&amp;p=2837#p2837</id>
<link href="https://forum.yubico.com/viewtopic.php?t=724&amp;p=2837#p2837"/>
<title type="html"><![CDATA[YubiRADIUS LDAPS failures]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=724&amp;p=2837#p2837"><![CDATA[
I'm unable to get YubiRADIUS to authenticate to an LDAP server over SSL. The certificate is self-signed. I've tried placing CA/Server certs in /etc/ssl/certs.<br /><br />I can connect to the LDAPS server using JXplorer (with a certificate warning).<br /><br />Everything works using plain LDAP.<br /><br />My guess is the BACKEND_ERROR in auth.log indicates an SSL connection issue. Any ideas?<br /><br />Obfuscated error messages/logs below...<br /><br />Users Import<br />LDAP Server Address: 172.16.X.X<br />LDAP Version: 3<br />Base DN: dc=example,dc=com<br />User DN: cn=admin,dc=example,dc=com<br />Password: PASSWORD<br />Filter: (objectClass=person)<br />Login Name Identifier: uid<br /><br />----<br /><br />When LDAP (389) is configured under Users Import:<br /><br />RadTest Response:<br /><br />Sending Access-Request of id 47 to 127.0.0.1 port 1812<br />User-Name = &quot;ldap_user&quot;<br />User-Password = &quot;PASSWORDcccccccjeuhvgtrrfufuflnjbnnbgcukhtcevlvincee&quot;<br />NAS-IP-Address = 127.0.1.1<br />NAS-Port = 0<br />rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=47, length=20<br /><br />/var/log/auth.log<br /><br />Nov 12 12:13:48 yrva31 pam_yubiserver.py[2263]: Validation result for user ldap_user : OK<br /><br />=======<br /><br />When LDAPS (636) is configured under Users Import:<br />----<br />RadTest Response:<br /><br />Sending Access-Request of id 128 to 127.0.0.1 port 1812<br />User-Name = &quot;ldap_user&quot;<br />User-Password = &quot;PASSWORDcccccccjeuhvublehbvbkrjverbtriftddngbufivjnb&quot;<br />NAS-IP-Address = 127.0.1.1<br />NAS-Port = 0<br />rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=128, length=20<br />----<br />/var/log/auth.log<br /><br />Nov 12 11:56:26 yrva31 pam_yubiserver.py[2263]: Validation result for user ldap_user : BACKEND_ERROR<br /><br />----<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1866">wirefall</a> — Sat Nov 12, 2011 8:28 am</p><hr />
]]></content>
</entry>
</feed>