On Thu, Jun 10, 1999 at 09:34:33AM -0000, michael@??? wrote:
> While reading the ldap.c lookup code in Exim, I saw that too few entries
> cause a search to fail (which is ok), but too many defer it. Why? The
> search itself was successful and the result is only as likely to change
> in future as for searches with no entries.
I'm perhaps a little confused here- ldap search types return one result
only, ldapm return one or more. I think that in many cases where ldap
lookups are performed, it's likely that it's only meaningful to get one
result from a successful lookup. I may have got the wrong end of the stick
here...
Adding code to attempt to open multiple hosts when creating a new connection
ought not to be too hard, provided that ldap_url_parse() doesn't choke on
the syntax.
SRH
--
Steve Haslam, Validation Engineer, ARM Ltd, Cambridge UK +44-1223-400677
steve.haslam@??? steve@??? araqnid@???
we see a deadly sin in every home, on every street corner.
and we tolerate it because it's commonplace. it's trivial.
--
*** Exim information can be found at
http://www.exim.org/ ***