Re: [courier-users] LDAP_FILTER

This is a discussion on Re: [courier-users] LDAP_FILTER within the Courier-Imap forums, part of the Mail Servers and Related category; Di Giambelardini Gabriele wrote: > ok i found the resolution: > > LDAP_FILTER (&(|(stato=attivo)(stato=nuovo))) More simply: ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-20-2006
Gordon Messmer
 
Posts: n/a
Default Re: [courier-users] LDAP_FILTER

Di Giambelardini Gabriele wrote:
> ok i found the resolution:
>
> LDAP_FILTER (&(|(stato=attivo)(stato=nuovo)))


More simply:

LDAP_FILTER (|(stato=attivo)(stato=nuovo))

The & doesn't do anything in the filter you're using. Translated to C
style, which may be more readable, it says something like:

if( (stato == attivo || stato=nuovo) && 1)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0