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

(ITS#4455) Zeroconf Support (Patch) For OpenLDAP

Full_Name: Daniel S. Haischt
Version: 2.3.20
OS: GNU/Linux 2.6.14-ck6
URL: ftp://ftp.openldap.org/incoming/openldap-zeroconf.tar.bz2
Submission from: (NULL) (

Zeroconf Support (Patch) For OpenLDAP

This patch file is derived from OpenLDAP Software. All of the modifications to
OpenLDAP Software represented in the following patch(es) were developed by
Daniel S. Haischt <me@daniel.stefan.haischt.name>. These modifications are not
subject to any license.

What it does...

I saw that it is possible to register a SLAPD instance with a OpenSLP server.
Hence I thought it would be a good idea/alternative, to be able to register
the same SLAPD instance with a mDNS (multicast DNS) implementation.

Multicast DNS is part of the Zeroconf specification framework.

This patch enables one to register OpenLDAP (i.e. SLAPD) with one of the
following mDNS implementations...

 * Apple's Bonjour (their open source version)
 * Porchdogs Howl
 * Avahi (a LGPL based project)

What is required...

 * One of the above Zeroconf/mDNS implementations
 * The command line option '-o zeroconf=on', if OpenLDAP
   was compiled with Zeroconf support.

What works...

I just created this patch within a few hours. I did test it against
OpenLDAP 2.3.20 and Avahi 0.6.3. I did do the test on a Linux type of
system. I did not test the other remaining Zerconf implementations,
neither did I test on other platforms (e.g. win32 or  *BSD system).

Thus, you should mark this test as 'needs testing'.