[Pkg-openldap-devel] Bug#221173: ldap-utils: LDAP utils should check DNS for SRV records in order to locate LDAP server

Russ Allbery rra at debian.org
Tue Jun 12 03:33:08 UTC 2007


Hi Russell,

Back in 2003, you submitted a wishlist bug against the Debian ldap-utils
package:

> It would be nice if the LDAP utils were able to make use of SRV records in
> DNS for locating LDAP servers on the network.

I wanted to let you know that I forwarded this to the OpenLDAP developers
and they have just committed an implementation of this to the OpenLDAP
sources.  From the bug report (ITS #4996):

| Committed to HEAD.  Command-line clients now use DNS SRV to look up the
| host names related to a DN and build a list of URIs for subsequent use.
| To trigger, use -H "<proto>:///DN".  The <host> portion must be empty,
| and a DN must be present.  The DN must be in the "dc=<component>" form;
| it's turned into a domain and the host list is looked up using DNS SRV.
| After that, a list of URIs is built using the returned host/ports, and
| using <proto> as the LDAP scheme.

If you're in a position to test this (by downloading the current CVS code
of OpenLDAP following the details on http://www.openldap.org/), I'm sure
that the OpenLDAP developers would appreciate it.  Tested patches are more
likely to make it quickly into stable releases.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>




More information about the Pkg-openldap-devel mailing list