[Date Prev][Date Next]
Re: slapd socket file name and location
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/
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
root@host:~# ls -al /test/
drwxr-xr-x 2 root root 4096 Nov 24 2007 .
drwxr-xr-x 34 root root 4096 Oct 23 12:04 ..
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
( "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.
http://dtpw.pl/buell [ 25th anniversary of Buell - American Motorcycles ]
Linux aleft 18.104.22.168-0.1_lustre.22.214.171.124-default #1 SMP