<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Yes, you're right. I checked many times slapd.conf, but forgot /etc/default/slapd. There was a line I had in etch like this:<br><br> SLAPD_SERVICES="ldap:/// ldaps:/// ldapi://%2fvar%2frun%2fldapi/"<br><br>which I kept when migrated to lenny. Replacing this line with<br><br> SLAPD_SERVICES="ldap:/// ldaps:/// ldapi:///"<br><br>made everything work.<br><br>I apologise for the inconvenience. Thank you very much.<br>Juan.<br><br>--- El <b>sáb, 30/8/08, Steve Langasek <i><vorlon@debian.org></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Steve Langasek <vorlon@debian.org><br>Asunto: Re: [Pkg-openldap-devel] Bug#495717: Slapd no creating socket in the right place<br>Para: cde_ruylopez@yahoo.es, 495717@bugs.debian.org<br>Fecha: sábado, 30 agosto, 2008
12:00<br><br><pre>On Fri, Aug 29, 2008 at 10:29:40AM +0000, Juan Miguel Corral wrote:<br>> Sorry for not providing more info here; I sent this info to Brian May<br>> instead of the bug tracking mail.<br><br>> Here's the info i sent to Brian:<br><br>> I am using the version currently in lenny:<br><br>> # dpkg -l | grep -e libldap -e slapd<br>> ii libldap-2.4-2 <br>2.4.10-3 OpenLDAP libraries<br>> ii libldap2-dev <br>2.4.10-3 OpenLDAP development libraries<br>> ii
slapd <br>2.4.10-3 OpenLDAP server (slapd)<br><br>> Looking inside /etc/init.d/slapd on the lenny box, I see the following<br>lines:<br><br>> # Backward compatibility with OpenLDAP 2.1 client<br>libraries.<br>> if [ ! -h /var/run/ldapi ] && [ ! -e /var/run/ldapi<br>] ; then<br>> ln -s slapd/ldapi /var/run/ldapi<br>> fi<br><br>> But<br>> it looks like the opposite to the fix that needs to be done<br>> (/var/run/ldapi is the real socket,
and var/run/slapd/ldapi is the<br>> symlink that needs to be created).<br><br>That's incorrect. The default ldapi socket created by the slapd package in<br>lenny is /var/run/slapd/ldapi.<br><br>Have you set a non-default ldapi URI in /etc/default/slapd? There is no<br>reason for the slapd in lenny to be creating /var/run/ldapi as the socket<br>unless you've overridden the default.<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>Ubuntu Developer http://www.debian.org/<br>slangasek@ubuntu.com vorlon@debian.org<br></pre></blockquote></td></tr></table><br>__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.yahoo.es