8 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] LDAP Address Books in...
FromSent OnAttachments
Stephen MeatheringhamJan 7, 2007 3:48 pm 
Sam VarshavchikJan 7, 2007 4:08 pm 
Stephen MeatheringhamJan 7, 2007 4:19 pm 
Sam VarshavchikJan 7, 2007 6:43 pm 
Stephen MeatheringhamJan 7, 2007 8:19 pm 
Brian CandlerJan 8, 2007 12:36 pm 
Stephen MeatheringhamJan 8, 2007 4:26 pm 
Sam VarshavchikJan 8, 2007 6:41 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] LDAP Address Books in SQWebMail Web InterfaceActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jan 8, 2007 6:41:54 pm
List:net.sourceforge.lists.courier-sqwebmail

Stephen Meatheringham writes:

The default search string is "(|(uid=<key>)(sn=<key>)(cn=<key>))", and if that doesn't find anything, "(|(uid=<key>*)(sn=<key>*)(mail=<key>*)(cn=<key>*))".

Although that can be customized using some environment variables, your first order of business is to verify that there's some communication going here.

Can I find out where this would be documented?

The code. Yes, it needs to be explicitly documented somewhere else.

The variables are LDAP_SEARCH_FILTER_EXACT and LDAP_SEARCH_FILTER_APPROX, and they can be set in the sqwebmaild config file.

In some later release I'll be appending this to the sqwebmaild config file:

LDAP_SEARCH_FILTER_EXACT='(|(uid=@)(sn=@)(cn=@))' LDAP_SEARCH_FILTER_APPROX='(|(uid=@*)(sn=@*)(mail=@*)(cn=@*))'

You can append something like this now, and it should work; but watch out the next time you upgrade.