Re: ldap support..



On 26 Apr 2001 10:09:10 +0200, Pawel Salek wrote:
> 
> On 2001-04-26 00:30 hayward@slothmud.org wrote:
> > I work for a corporation with a very large ldap server. (approx 80,000
> > employees).  I get size limit exceeded whenever I try to use ldap
> > support.
> > Is this an issue with balsa or the underlying ldap libraries?  If it
> > is related to balsa, do you expect it to be resolved?

Normally Balsa.  The library is supposed to detect the error, but Balsa
must deal with it.

> This is what actually the ldap library returns (or perhaps it is even
> generated on server, I don't know). 

That was done...  LDAP_SIZELIMIT_EXCEEDED is a no longer treated as an
error.  Look at the ChangeLog for 2000-12-11, or
libbalsa/address-book-ldap.c.  What is the exact error, and when is it
reported?

> What we could in principle do in balsa would be to generate the LDAP
> queries in a smarter way to limit the number of hits. I guess. This is
> the only thing that comes to my mind.

It will only do an LDAP query when at least two characters have been
typed.  We could probably make that three.  SIZELIMIT is usually 100 or
200.  (80,000 / 26 / 26) == 118 matches on average, so I assume it could
match too many names.  However, it should ignore SIZELIMIT_EXCEEDED.
 
> /Pawel
> -- 
> Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
> Theoretical Chemistry Division, KTH voice: +46 8 790-8202
> 
> 
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list

-- 
Kind regards,                             
Berend                                  

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-712-1435, UCS





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]