<p dir="ltr">Date: Mon, 22 May 2006 08:08:19 +1000<br>
>From: Alexander Samad <<a href="mailto:alex@samad.com.au">alex@samad.com.au</a>><br>
>-------------<br>
>Body: On Sun, May 21, 2006 at 02:17:04PM -0500, Steve Langasek wrote:<br>
>> On Sun, May 21, 2006 at 07:25:38PM +1000, Alexander Samad wrote:<br>
>> > Package: sudo-ldap<br>
>> > Version: 1.6.8p12-4<br>
>> > Severity: grave<br>
>> > Justification: renders package unusable<br>
>> <br>
>> > I have setup sudo-ldap to use the local ldap db. My /etc/ldap/ldap.conf<br>
>> > has<br>
>> <br>
>> > uri ldap://<a href="http://127.0.0.1">127.0.0.1</a><br>
>> <br>
>> > when I change this to <br>
>> <br>
>> > uri ldaps://<a href="http://hufpuf.lan1.hme1.samad.com.au">hufpuf.lan1.hme1.samad.com.au</a><br>
>> <br>
>> > it faills and I get with with debuging turned on<br>
>> <br>
>> > LDAP Config Summary<br>
>> > ===================<br>
>> > uri ldaps://<a href="http://hufpuf.lan1.hme1.samad.com.au">hufpuf.lan1.hme1.samad.com.au</a><br>
>> > ldap_version 3<br>
>> > sudoers_base ou=SUDOers,dc=samad,dc=com,dc=au<br>
>> > binddn (anonymous)<br>
>> > bindpw (anonymous)<br>
>> > ssl (no)<br>
>> > ===================<br>
>> > ldap_initialize(ld,ldaps://<a href="http://hufpuf.lan1.hme1.samad.com.au">hufpuf.lan1.hme1.samad.com.au</a>)<br>
>> > ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,0x03)<br>
>> > ldap_simple_bind_s()=81 : Can't contact LDAP server<br>
>> <br>
>> Why do you say that this is a sudo-ldap bug? What tests have you done to<br>
>> verify that this isn't a network/firewall bug or a libldap bug?<br>
><br>
>Hi<br>
><br>
>I configure a working system to start with. The ldap server is on the<br>
>same machine, there are no iptable entries. libnss-ldap and libpam-ldap<br>
>work when I make the change from ldap://<a href="http://127.0.0.1">127.0.0.1</a> to<br>
>ldaps://<a href="http://hufpuf.lan1.hme1.samad.com.au">hufpuf.lan1.hme1.samad.com.au</a><br>
><br>
>when I turn on logging from openldap I notice a connection being made<br>
>and then I notice the connectect is closed, no bind is attempted.<br>
><br>
>I can't rule out a libldap bug how can I test this ?<br>
><br>
>when I use ldapsearch with anon ldaps:// it works, but it links against<br>
>the 2.2 ldaplibraries.<br>
><br>
><br>
>> <br>
>> -- <br>
>> Steve Langasek Give me a lever long enough and a Free OS<br>
>> Debian Developer to set it on, and I can move the world.<br>
>> <a href="mailto:vorlon@debian.org">vorlon@debian.org</a> <a href="http://www.debian.org/">http://www.debian.org/</a><br>
>></p>