[Rt-devel] RTx::EmailCompletion with LDAP : testers needed

Nicolas Chuche nicolas.chuche at barna.be
Mon Nov 12 16:39:26 EST 2007


Hello,

New rc available http://gaspard.mine.nu/RTx-EmailCompletion-0.03rc2.tar.gz

> * Added EmailCompletionLdapUser and EmailCompletionLdapPass
> configuration variables to support LDAP servers that don't allow
> anonymous binding
>
> * Sorted the results of the LDAP search

Ok got it. I've change it a bit and applied it.

> One possible weakness I can see with my changes is that I don't think
> they'll allow for a case where the ldap server used for email
> autocompletion allows anonymous binds but the server used for
> authentication doesn't.  I'm not sure what the most graceful way would
> be to handle that scenario while still supporting fallthrough to an
> underlying LDAP configuration.

The best idea I can think of (is it english ?) is to verify that
LdapServer and EmailCompletionLdapServer are the same and if not,
don't fallback to LdapUser/LdapPass. I will do that way for the
moment. If you have a better idea, let me know.

I will keep the fallback for EmailCompletionBase and
EmailCompletionFilter because it seems good for those two.

> Also...I'm not sure how hard this would be, but for sites that use both
> LDAP and RDBM lookups for email completion, I can see it being useful
> for the dropdown to indicate where each item originated.

Quite easy, LDAP emails now have light grey background. If you have a
better idea or a better color, let me know.

By the way, thanks for the patch and for your help.


More information about the Rt-devel mailing list