logo       

Re: Need help with an LDAP filter: msg#00010

horde.turba

Subject: Re: Need help with an LDAP filter

Steve Pfister a écrit :
I'm experimenting with using Active Directory as an LDAP source in Turba.
Everything is working great, but I would like to get a search filter working
on it, specifically to only show entries where the email field is not blank
(turba attribute name: "email", AD field name: "mail"). No matter what I
try, e.g.

'filter' => 'mail <> ""'

Nothing seems to match the filter rule. If I remove the filter, everything
shows up again. Where can I find documenation/examples for the filter()
function?

Thanks!

--Steve

If you want something (but anything) in the mail field, juste use
mail = *

as filter. = * works in the presence of something.

Otherwise, for other ldap filters tips, http://www.winnetmag.com/WindowsScripting/Article/ArticleID/5282/WindowsScripting_5282.html (sorry, not my kind to post windows stuff, it is just well explained).
--
Benoit St-André
ben@xxxxxxxxxxxxxxxxxx
Connaissez-vous Linuxédu-Québec ? http://linuxeduquebec.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe@xxxxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise