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

Re: Using ldapi: and ldap:



On Thu, Jan 25, 2007 at 10:04:04AM +0100, Johan Jönemo wrote:
> I'm trying to get slapd to listen to a unix domain socket as well as
> TCP. Shouldn't this be possible?
> 
> When I use:
> 
> -h 'ldapi://%2Fusr%2Flocal%2Flis%2Fvar%2Frun%2Fldapi/????x-mod=0777'
> 
> it listens to the correct socket. The same goes for the ldap:/// uri.
> When I use both, however, slapd just listens to the unix domain socket.
> I.e. I write:
> 
> -h 'ldapi://%2Fusr%2Flocal%2Flis%2Fvar%2Frun%2Fldapi/????x-mod=0777'
> ldap:///

you have a space between the arguments so ldap:/// is not part of the -h
argument

mine looks like 

-h "ldap:/// ldapi:/// ldaps:///"

> 
> and doing netstat -anp (on linux) only gives the unix domain socket.
> 
> I use OpenLDAP 2.3.24
> 
> Johan Jönemo
> 

Attachment: signature.asc
Description: Digital signature