Hi Experts,
I'm having a problem querying an LDAP and had a question. What would be the proper format if I just want to query the domain tree and return info regarding the users. In other words, previously i would query within an OU and get results for users within that OU. But if I want to move up a level and query the domain and get results that list the username, and OU they're in...
So up until this point, my query was as below;
OU=NY, DC=DomainA, DC=local
but what if I want my query string to be just DC=DomainA, DC=local and return all the users and they're OU's they're associated in.
I was assuming i would use some sort of wildcard character for the OU= but that hasn't worked...
any ideas?
SCOPE_SUBTREE, it by default is set to only the current object. Once I
changed that and added search controls to my search I was golden...
will award some points for your efforts however because they did help a bit...