[Date Prev][Date Next]
Re: Connection to slapd on localhost
I believe Derek Simkowiak has used the correct term, "Unix Domain
Basicly this is what I would like to know... Does OpenLDAP support Unix
Based on Pierangelo Masarati reply to my post, it appears to support
them. So, do I need to create a "FIFO" with mknod, before starting
slapd with the below config line?
Thanks for your insight and thought.
On Tue, 2002-11-19 at 16:54, Pierangelo Masarati wrote:
> > Hello,
> > Is there a way to connect to slapd via a local socket? Not via an ip
> > address? To be more precise, does slapd offer a way to connect to it
> > like that of MySQL's "/var/lib/mysql/mysql.sock" (or, /tmp/mysql.sock)
> > connection option?
> > We have an application that queries/searches LDAP and it runs on the
> > same system as slapd. I would prefer not to use a TCP connection for
> > the ldap lookup since this can be a lot of lookups.
> > If the answer is obvious, I've totally missed it.
> > Thanks for your time and thoughts.
> start slapd with -h ldapi://<socket_path> (remember to urlescape
> the path, i.e. use %2F for '/'
> Pierangelo Masarati