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:Stephen Meatheringham (s.me@adfa.edu.au)
Date:Jan 8, 2007 4:26:58 pm
List:net.sourceforge.lists.courier-sqwebmail

Having dug around in the Courier installation directories I find another ldapsearch binary (in the /usr/lib/courier/share/sqwebmail directory). I can get no response from that program at all.

I have managed to get ldapsearch to return information. I did it by debugging the code and very quickly found it was not doing anything LDAP-related. I went back to my notes and looked more carefully. I installed the openldap development pkg, reconfigured and re-made - hey presto. It works - just as the docs said (p 6).

I also can see no way to specify what filter to use with the search. I would like to use "cn" for that.

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? Each search on a name is returning multiple entries for the one user as we use multiple CN values in our eDirectory implementation.

Thanks for the pointers and comments to date.

Stephen