ldap_url_parse behaviour difference from openldap-1.2.11 (ITS#846)

Full_Name: Brian Candler
Version: 2.0.6
OS: FreeBSD-4.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.74.96.2)
Given an LDAP URL which does not include a hostname, i.e.
ldap:///....
When you call ldap_url_parse in OpenLDAP-1.2.11, it returns a NULL pointer as
the
hostname.
In OpenLDAP-2.0.6, it returns a pointer to an empty string.
I do not think that it is documented what the 'correct' behaviour should be,
but
there does exist code which depends on the old behaviour - for example exim's
LDAP
code.