Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP ColdFusion Scope Question

Status
Not open for further replies.

Signit

MIS
Oct 17, 2003
114
US
I am attempting to get all of the OUs at the base level of our active directory. I can run this same query in an LDAP Query tool (LDP) and get back an expected low number of results. When I run this query in ColdFusion I return no OUs. However, if I run this same query with a scope of subtree I return every OU in our directory. Any thoughts on what is causing this to occur?

Code:
<cfldap
    server="network.mycompany.com"
	port="389"
	username="userName"
	password="password"
    action="query"
	name="results2"
	attributes="canonicalName,OU,DN,name,objectClass,description"
    start="DC=network,DC=mycompany,DC=com"
	filter="(OU=*)"
	scope="base"
	sortcontrol="asc">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top