Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Active directory Interfaces > Filtering domai...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 2309 of 2407
Post > Topic >>

Filtering domains when issuing query to find users via GC

by "Keith Richie" <keith_richie@[EMAIL PROTECTED] > Jun 13, 2008 at 12:30 PM

I have code that crawls users/groups, etc starting with the GC using .Net 
DirectoryServices.
Everything works great, but I'm trying to provide an include/exclude list
of 
domains in the LDAP filter.

For example, the base DN/root domain is DC=topdomain,DC=com

I have 1 sub domain that I'm just trying to filter out first, to get a 
handle on the LDAP filter syntax, called subdomain1

so my filter is basically this
(&(objectCategory=person)(!dc:dn:=subdomain1))

I've also tried:
(&(objectCategory=person)(!(dc:dn:=subdomain1)))

Anyone have any pointers?
 




 3 Posts in Topic:
Filtering domains when issuing query to find users via GC
"Keith Richie"   2008-06-13 12:30:19 
Re: Filtering domains when issuing query to find users via GC
"Joe Kaplan" &l  2008-06-13 22:11:14 
Re: Filtering domains when issuing query to find users via GC
"Keith Richie"   2008-06-14 10:29:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 22:34:54 CST 2008.