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

slapd only serves first protocol ldap:/// or ldaps:/// over default interface?

Title: Message
@(#) $OpenLDAP: slapd 2.1.30
This is funny, I can't seem to get it to listen on  both ldap:/// and ldaps:///
when I start the daemon it only starts listening on the first option to -h
either ldap:/// on port 389 or ldaps:/// on port 636.
Is this normal?
I am using the following command to start the daemon:
/usr/local/openldap/libexec/slapd -f /usr/local/openldap/etc/openldap/slapd.conf -h ldap:/// ldaps:///  -d -1 2>&1 | tee /tmp/debug.out
Here is the beginning of the  -d -1 output
@(#) $OpenLDAP: slapd 2.1.30 (Jun 10 2004 16:53:55) $
daemon_init: ldap:///
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
daemon: socket() failed errno=97 (Address family not supported by protocol)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
reading config file /usr/local/openldap/etc/openldap/slapd.conf
Any ideas, comments?