[Date Prev][Date Next]
ldap_chase_referrals can't find_connection (ITS#3280)
Full_Name: Lloyd Parkes
Submission from: (NULL) (126.96.36.199)
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