|
I am a bit tired and a little high from sniffing tile
adhesive but a couple of things. First, I don't think you are using the correct
attribute, I think you want msExchHomeServerName. Second, I would think you want
NOT CO-XMB11 AND NOT CO-XMB12.
I would write it more like
(&
(objectcategory=person)
(objectclass=user)
(mail=*)
(!(msExchHomeServerName=*CO-XMB11))
(!(msExchHomeServerName=*CO-XMB12)) )
And
yeah, I can't say that would probably be very performant, but I am not sure in
my present state how to make it performant without listing by name every other
mailbox server by full
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond Sent: Tuesday, June 14, 2005 9:27 PM To: [email protected] Subject: [ActiveDir] My LDAP Query I
can’t get it to work and I’m tired. Anyone see my problem? I want all the users
in the current domain whose mailbox server is not CO-XMB11 or CO-XMB12. I really
don’t care about perf, I’ll run it once and forget about
it. (&(objectCategory=person)(objectClass=user)(mail=*)(!(|(msExchHomeServer=*CO-XMB11)(msExchHomeServer=*CO-XMB12)))) (&
(objectCategory=person)(objectClass=user)(mail=*)
(!
(|
(msExchHomeServer=*CO-XMB11)(msExchHomeServer=*CO-XMB12)
)
) ) Thanks, c -
312.731.3132 |
- RE: [ActiveDir] My LDAP Query joe
- RE: [ActiveDir] My LDAP Query Brian Desmond
- RE: [ActiveDir] My LDAP Query joe
- RE: [ActiveDir] My LDAP Query Brian Desmond
- RE: [ActiveDir] My LDAP Query Rick Kingslan
