That is a weird looking query. What are you trying to get out of it? Thanks, Brian Desmond br...@briandesmond.com
c - 312.731.3132 > -----Original Message----- > From: Robert Smith [mailto:exch...@gmail.com] > Sent: Thursday, February 25, 2010 5:44 PM > To: NT System Admin Issues > Subject: LDAP Query across Multiple OU's > > Hello, > > Is there any way to do an LDAP query for users across multiple OU's via Saved > Queries in ADUC? We are able to perform the custom search below with the > following LDAP queries, but this is only for one OU at a time, we would like > to > be able to select a few at a time out of almost a hundred OU's > > (&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113 > 556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategor > y=group)(groupType:1.2.840.113556.1.4.804:=14)))) > > > Thanks! > Bob > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ > <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~