OzPacific
Guest
|
Posted:
Mon Dec 20, 2004 8:20 pm Post subject:
Recipient Policy and LDAP Query |
|
|
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
Guest
|
Posted:
Tue Dec 21, 2004 7:57 am Post subject:
Re: Recipient Policy and LDAP Query |
|
|
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
|
|
|