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

slapd Listeners

I just noticed another bug here that is still present in HEAD - the sockaddr
is never copied into the Listener structure. This is mainly significant
because the close_listeners code tries to unlink any Unix Domain socket
listeners, but the pathname isn't there so the unlink will fail.

Also, there's a problem if the hostname specified for an Inet listener
resolves to multiple IP addresses, only the first one will be bound.
slap_get_listener_addresses can return a list of addresses, but
slap_open_listener is only set up to return a single Listener structure, so
it will only use the first address.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

-----Original Message-----
From: owner-openldap-commit@OpenLDAP.org
[mailto:owner-openldap-commit@OpenLDAP.org]On Behalf Of hyc@OpenLDAP.org
Sent: Wednesday, June 05, 2002 8:03 PM
To: OpenLDAP Commit
Subject: commit: ldap/servers/slapd daemon.c

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Modified Files:
	daemon.c ->

Log Message:
Fix ITS#1615, ITS#1728 port byte-order, addr initialization


Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.