thanks, I was missing (it's on the first panel of the query editing). Shawn
>>> "Mulnick, Al" <[EMAIL PROTECTED]> 03/29/05 04:12PM >>> The filter I used was (&(objectClass=User)(objectCategory=Person)) and I set the filter to the OU I wanted (it's on the first panel of the query editing). The query was entered into the custom search | advanced tab section. That returns all the user objects at the level in the tree specified. In your case from the OU level down. I get one that looks like this: Better? If not, create the Query and then export it and send it offline if you're able. Al -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Hayes Sent: Tuesday, March 29, 2005 3:54 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] LDAP search filter I end up with something like this but get no information (&(&(ou>="")(name=Comit*))(objectClass=user)(name=*)) This is not a filter from what I can tell.... >>> "Mulnick, Al" <[EMAIL PROTECTED]> 03/29/05 03:46PM >>> Yes. When you create the query, choose the OU you want. Then use a custom query and use an LDAP filter search filter on the advanced tab. Make sense? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Hayes Sent: Tuesday, March 29, 2005 3:32 PM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] LDAP search filter Does anyone know how to create an LDAP search filter I can use within a Saved Query of ADUC that will list the users in an OU? I can do this with VBScript, but I am looking for a way to do this within ADUC. Thanks, Shawn List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/