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!

ADSI query through OLE DB to an NT 4 domain

Status
Not open for further replies.

Bontebok

Programmer
Nov 18, 2002
63
US
Greetings,

I have found the syntax to query a Windows 2000 Active Directory from OLE DB, I cannot seem to get this to work using the WinNT provider (NT 4 domain) from ADSI. Is this possible? Can someone point me to an example?

Thanks,
Bontebok
 
MSDN has great examples, as does gotdotnet.com.

So you are using (WinNT://) as your provider?

/Siddharth
 
I couldn't find any on MSDN, only examples on how to use the OLE DB provider for querying Active Directory (LDAP://).

Yes, I am using the WinNT:// provider.

Bontebok
 
Ah, good idea, use google's search vs. Microsft's search. I will give that a try.

Yes, I tried looking in Google, I was trying to locate documents which mention ADSI and "WinNT" as that would what you would have to specify to use the NT 4 provider.

I haven't browsed gotdotnet.com yet, I will try that as well.

Bontebok
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top