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

Re: (ITS#4996) Use SRV records to locate local server for command-line clients

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.

Please test.  p.

Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it