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

RE: Connection to slapd on localhost



OFF

-----Original Message-----
From: Jeff Neuffer Jr. [mailto:jneuffer@nstel.com]
Sent: woensdag 20 november 2002 14:10
To: ando@sys-net.it
Cc: openldap-software@OpenLDAP.org
Subject: Re: Connection to slapd on localhost


I believe Derek Simkowiak has used the correct term, "Unix Domain
Sockets".
  
Basicly this is what I would like to know... Does OpenLDAP support Unix
Domain Sockets? 

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.
Jeff



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.
> 
> -- 
> Pierangelo Masarati
> mailto:pierangelo.masarati@sys-net.it
> 
> 
> 
> 
> 
> 
> 

 
> *************************************************************
> Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie
> bevatten die vertrouwelijk is en/of beschermd door intellectuele
> eigendomsrechten. Dit bericht is uitsluitend bestemd voor de
> geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht
> (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder
> elke vorm) door andere personen dan de geadresseerde(n) is verboden.
> Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender
> hiervan te verwittigen en dit bericht te verwijderen. 
> 
> This e-mail and any attachment thereto may contain information which is
> confidential and/or protected by intellectual property rights and are
> intended for the sole use of the addressees. Any use of the information
> contained herein (including but not limited to total or partial
> reproduction or distribution in any form) by other persons than the
> addressees is prohibited. If you have received this e-mail in error,
> please notify the sender and delete its contents. 
> *************************************************************
>