[Date Prev][Date Next]
Re: slapd socket file name and location
DT Piotr Wadas <firstname.lastname@example.org> writes:
> I'm using openldap 2.4.17 on debian, command line for testing purposes is
> root@host:~# slapd -d16384 -f slapd-1.conf -u openldap -g openldap \
> -h "ldapi:///var/run/slapd/foobar/x-mod=-rw-------"
> Filesystem directory permissions are fine, well, no matter about x-mod,
> the problem is I cannot force different file name (location) for socket
> file, default location seems to be build-dependent, shall I guess it's
> debian related issue? I expect the socket file to be created where I
> specify within "ldapi" URI. I tried a few variants of this uri, assuming I
> misunderstood the triple slash construction, anyway I still have socket
> file created in the same place. Isn't it supposed to create socket file
> where specified? What I want, actually, is to start two or more
> independent slapd servers (completely searated databases), listening on
> IPC only, on two different IPC sockets on the same machine.
If you want to specify a path, you only should use two slashes prior
to the path specification.
Dieter Klünter | Systemberatung
GPG Key ID:8EF7B6C6