[.mail-news added]
[EMAIL PROTECTED] (Csaba Borbola) writes:
Hi Dan,
I'm doing the LDAP addressbook settings and I would like to get
some comment related to filters.
I think the LDAP address book should not use the filter
settings from the preferences, which was set for autocompletion.
It might have a point to merge that filters with the
address book filters, but I don't really think we should.
What is your opinion about it?
I would just skip those filters, because we are going to use
the new UI interface for LDAP addressbook searching anyway.
When we concocted the UI, our intent was to merge the filters. The
reason for that is that people often don't really care about 1
addresses in parts of the organization that they never interact with.
So it turns out to be useful to be able to create several small
addressbooks (eg AcmeCo: Finance; AcmeCo: Legal). Directory Server
deployments often have all the people for the entire company in one
big bucket, which means that using a separate base DN isn't sufficient
for this purpose. This is also interesting from a performance point
of view (especially since addressbook still uses trees and not
outliner). And it will also be desirable once offline LDAP
addressbooks are supported, since people will definitely want to limit
their disk space usage. So intuition suggests doing the merging. Is
there some reason why you'd rather not?
FWIW, I suspect I'm gonna end up implementing the filter stuff
using the filter templates in the LDAP C SDK, perhaps exposing them
as nsILDAPFilterTemplate or something.
The address book would include every LDAP entries from the
preferences. So would do for the 3 hardcoded server too
(infospace, verisign and netcenter). Are they still valid
components in Mozilla or they just left there from the past?
They're leftover cruft. http://bugzilla.mozilla.org/show_bug.cgi?id=79814
has been filed about their removal.
The only thing we should workout somehow, that the address
book should to get notification if a new LDAP server was added
in the autocompletion preferences. I know there were already
some discussion about this, but it is the time to implement
it, because hopefully our pathces will be in soon. Should we
have a separate bug number for this?
See http://bugzilla.mozilla.org/show_bug.cgi?id=83114 for more info
about this.
Dan
--