[Date Prev][Date Next] [Chronological] [Thread] [Top]

bingo :P

On Tue, 15 Dec 2009, Dieter Kluenter wrote:

> DT Piotr Wadas <pwadas@dtpw.pl> writes:
> > 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
> [...]
> All I can say is that it works for me as the output of ps may show:
> 10352 pts/1 Sl+ 0:00 ./slapd -d-1 -h ldapi://temp/slapd/ -F /opt/openldap/
> A search requires LDAPURL like this
> ldapsearch -x -H ldapi://2%Ftmp2%Fslapd  -b "" -s base +
> -Dieter

It works when I use literally 

slapd -h ldapi://%2Ftest%2Ffoobar

I mean literally % sign, then 2F for third (and further if needed) "/"s.

A socket file named "foobar" in filesystem directory /test
is created.

It does not work when I use any of these
 -h ldapi:///test/foobar 
 -h "ldapi:///test/foobar"
 -h 'ldapi:///test/foobar'
 -h ldapi://\/test\/foobar 

Whatever causes this, seems that any kind of quotes does not help