Recipient Policy and LDAP Query
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Recipient Policy and LDAP Query

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Design
Author Message
OzPacific
Guest





Posted: Mon Dec 20, 2004 8:20 pm    Post subject: Recipient Policy and LDAP Query Reply with quote

Hi everyone,

We are using Exchange 2003, now with Recipient Policies i'm trying to
get both groups and users with the same attribute and am trying the
following:

(&(objectCategory=group)(objectCategory=user)(extensionAttribute1=ozpacific)(extensionAttribute1=ozpacific))

But it returns nothing, if I try to query JUST users, it returns
results like it should and the same with groups, but as soon as I try
to put them both in 1 query, like above, it returns nothing... what am
doing wrong there?

Thanks in advance,
Matthew

Back to top
Al Mulnick
Guest





Posted: Tue Dec 21, 2004 7:57 am    Post subject: Re: Recipient Policy and LDAP Query Reply with quote

Two things come to mind:
1) the ldap query and recipient policies may not work as expected. Just an
expectation I'm setting, your mileage may vary (or in this case, kilometers
may vary, right?)
2) Your query doesn't do what you want. Allow me to translate: return all
objects that are objectcategory=group AND objectcategory=user with extension
attribute1=....etc. The issue is with the AND statement. You want an OR
vs. an AND.

Something like
(&(|(objectCategory=group)(&(objectclass=person))objectcategory=user)))
(extensionAttribute1=ozpacific))

I could be off on the parens, but I'll chalk that up to the PWI.

Cheers,

ajm


"OzPacific" <matthew@ozpacific.net.au> wrote in message
news:1103552456.473403.154390@c13g2000cwb.googlegroups.com...
Quote:
Hi everyone,

We are using Exchange 2003, now with Recipient Policies i'm trying to
get both groups and users with the same attribute and am trying the
following:

(&(objectCategory=group)(objectCategory=user)(extensionAttribute1=ozpacific)(extensionAttribute1=ozpacific))

But it returns nothing, if I try to query JUST users, it returns
results like it should and the same with groups, but as soon as I try
to put them both in 1 query, like above, it returns nothing... what am
doing wrong there?

Thanks in advance,
Matthew
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Design All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
New Topics Powered by phpBB