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

Re: "ldap_connect_timeout: timed out" while starting





--On Friday, June 25, 2004 4:45 PM -0500 Kirk Strauser <kirk@strauser.com> wrote:

On Friday 25 June 2004 03:41 pm, Quanah Gibson-Mount wrote:

Okay, but what is the [::] bit? ;)

Any bound IPv6 address. ;)

Okay, thanks. :)

Your earlier reply wasn't quite right, though:

    -h URLlist
         slapd will by default serve ldap:/// (LDAP over TCP  on
         all interfaces on default LDAP port).  That is, it will
         bind using INADDR_ANY and port 389.  The -h option  may
         be  used  to  specify  LDAP  (and other scheme) URLs to
         serve.    For   example,   if   slapd   is   given   -h
         ldap://127.0.0.1:9009/  ldaps:///  ldapi:///  , It will
         bind 127.0.0.1:9009 for LDAP, 0.0.0.0:636 for LDAP over
         TLS,  and  LDAP  over  IPC (Unix domain sockets).

so your first bit could simply be:

-h ldap:/// ldaps:/// and it should do what you want.

By default, it listens on both v4 and v6 addresses.

(This is from the OpenLDAP 2.2.13 man page).

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html