[EMAIL PROTECTED] (Ken Lui) writes:
> In article <9ikskp$[EMAIL PROTECTED]>,
> Dan Mosedale <[EMAIL PROTECTED]> wrote:
> >No; thanks for pointing it out!  I just filed bug 90535 
> ><http://bugzilla.mozilla.org/show_bug.cgi?id=90535> on this, and there 
> >are more details there about what exactly is going on.
> 
> Thanks for filing the bug report, Dan. I haven't submitted many bugs but
> it seems as though each time I do it, it's flagged as a duplicate even
> though I search as best as I could the current database. So I thought I
> post to the newsgroups prior to filing it this time.
> 
> I'm curious if it's a "simple" fix. For instance, modifying the Search
> Filter in Directory Server Properties's Advanced Tab. It's currently
> (objectclass=*).

It should be simple, but it's not doable through the GUI.  It'll
involve changing the default filterTemplate variable in some C++
code, though I haven't yet figured out exactly what it'll be changed
to.  It's also possible to set this variable by quitting out of
mozilla and hand-editing your prefs.js file.  Add a line of the
following format:

user_pref("ldap_2.servers.CorporateDirectory.autoComplete.filterTemplate", 
"(|(cn=%v*)(mail=%v*)(sn=%v*))");

where "CorporateDirectory" is replaced by whatever directory server
you're using.  The value of filterTemplate shown above is the current
(incorrect) default; it's gonna need to be changed to a somewhat
more complex template using "%v1" and "%v2-".  Documentation for the
format of the filter template starts here:

http://lxr.mozilla.org/mozilla/source/directory/xpcom/base/public/nsILDAPService.idl#182

Dan
-- 

Reply via email to