Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Design / December 2004

Tip: Looking for answers? Try searching our database.

Recipient Policy and LDAP Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
OzPacific - 20 Dec 2004 14:20 GMT
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
Al Mulnick - 21 Dec 2004 01:57 GMT
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

> Hi everyone,
>
[quoted text clipped - 11 lines]
> Thanks in advance,
> Matthew
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.