Re: LDAP Query

Tech-Archive recommends: Fix windows errors by optimizing your registry



Sweet,

Thanks very much - these things can be a pain to find - would you know of
any documentation to out line some of the syntax? No worries though, you
have already been a great help.

"Rich Matheisen [MVP]" <richnews@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:anvf525hr0s1taj5gl1q7rnvs6mr4j9fv9@xxxxxxxxxx
"JHP" <goawayspam@xxxxxxx> wrote:

I want to setup an Address list (filter) with multiple addresses...

This works for one:

(&(&(objectCategory=*)(mail=*@abc.com)))

this does NOT work for multiple:

(&(&(objectCategory=*)(mail=*@abc.com)(mail=*@123.com)))

I think this is what you're after:
(&(objectCatgory=*)(|(mail=*@abc.com)(mail=*@123.com)))


Your original test can never succeed because the mail property value
can never be *@abc.com AND *@123.com at the same time! :)

--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@xxxxxxxxxxxxx
Or to these, either: mailto:h.pott@xxxxxxxxxxxxxxx
mailto:melvin.mcphucknuckle@xxxxxxxxxxxxx
mailto:melvin.mcphucknuckle@xxxxxxxxxxxxxxx


.



Relevant Pages

  • Re: LDAP Query
    ... any documentation to out line some of the syntax? ... Probably in one of the LDAP/LDIF RFC's. ... MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm ...
    (microsoft.public.exchange.admin)
  • Re: LDAP Query
    ... any documentation to out line some of the syntax? ... Probably in one of the LDAP/LDIF RFC's. ... MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm ...
    (microsoft.public.exchange.admin)
  • Re: [Info-Ingres] PARTITION - LIST
    ... I suspect this was fixed as documentation bug between ... SQL has been corrected. ... Subject: PARTITION - LIST ... bad syntax (see extract of first page and the example page of CREATE ...
    (comp.databases.ingres)
  • Re: Security Template does not apply folder permissions
    ... I put a bit of syntax into Protect Your Windows Network ... that they want this propagation to be done. ... You have to hand-edit the template to do that. ... Is there any documentation that explains the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Trouble getting off the ground with rsync
    ... "lying" is the wrong word. ... Either you DO know the syntax, ... because what is relevant to him is HIS documentation. ... If people drank ink instead of Schlitz, ...
    (comp.os.linux.misc)