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

Re: ldap_chase_referrals can't find_connection (ITS#3280)



I've committed a fix to HEAD sources (available via CVS).
Please test.

Kurt

At 11:14 AM 8/11/2004, Lloyd.Parkes@eds.com wrote:
>Full_Name: Lloyd Parkes
>Version: 2.2.11
>OS: Solaris 
>URL: 
>Submission from: (NULL) (210.48.106.178)
>
>
>Various things conspire to prevent find_connections from finding conenctions
>that it can use. One easy one to fix (I hope) ldap_chase_referrals calls
>ldap_url_parse_ext when it should use ldap_url_parse. The latter function sets
>the port number to LDAP_PORT if there is no explicit port number.
>find_connection checks that the port numbers match and since ldap_url_parse_ext
>leaves the port number as 0, then it will never match any current connection. 
>
>I haven't even thought about testing this, so there may be other issues I
>haven't found yet.
>
>I'll post to the devel list about improvements that could be made to
>find_connection.