On Tue, 15 Dec 2009, Dieter Kluenter wrote: > > If you want to specify a path, you only should use two slashes prior > to the path specification. > -h ldapi://var/run/slapd/foobar/ > > -Dieter > >
Nope :/ None of these worked as expected slapd -h 'ldapi://test//' -u root -g root -d16384 -f slapd-1.conf slapd -h 'ldapi://test/' -u root -g root -d16384 -f slapd-1.conf slapd -h 'ldapi://test' -u root -g root -d16384 -f slapd-1.conf All variants: r...@host:~# ls -al /test/ total 8 drwxr-xr-x 2 root root 4096 Nov 24 2007 . drwxr-xr-x 34 root root 4096 Oct 23 12:04 .. r...@host:~# I tried with superuser and dedicated user, and checked all configs ten times. Seems I need to become Jedi and use the source again :) I also noticed this http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317100 quote: ( "Subject: URI of socket ignored by slapd (in ldap_connect_to_path), it always used /var/run/ldapi (aka ITS#3467, ITS#3518). But this bug was fixed in openldap CVS HEAD. Is it possible to backported it to current slapd (2.2.26-3)?" ) anyway it's quite old, related to previous branch. Maybe with 2.4.17 it's just some debian-related thing. Regards, DT -- http://dtpw.pl/buell [ 25th anniversary of Buell - American Motorcycles ] Linux aleft 2.6.27.29-0.1_lustre.1.8.1.1-default #1 SMP drbd 8.3.6-(api:88/proto:86-91) pacemaker 1.0.6-cebe2b6ff49b36b29a3bd7ada1c4701c7470febe
