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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active Directory and Impersonation

Status
Not open for further replies.

bixbarton

Programmer
Nov 8, 2000
1
GB
Hi, I'm trying to use impersonation to access Active Directory. But it just won't work. I get a connection, but it only gives results on a miniscule subset of the whole Active Directory.

If I create the DirectoryEntry object supplying a username and password, then search for John, it returns 73 different johns.

But if I omit the username and password, and use impersonation, it only returns 2 johns.

This is driving me crazy, I've searched all over the web for details on how to get this working, to no avail.

I've got impersonation set up in the WEB.CONFIG file correctly. The Directory Security of the folders on the webserver is set to deny anonymous access. This is as everything I've read recommends.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top