Hi all,
I'm trying to use the System.DirectoryServices namespace to pull some info from the Active Directory. If I do this with a Windows app, it works great. I can connect and read the necessary data without specifying a username and password. I assume it uses Windows authentication. The problem is, when I try to do the same thing in a web app, I can only get it to work by passing a username and password to the DirectoryEntry object. The app.config is setup to use Windows authentication. Best I can tell, the problem exists because the authentication has to do a double hop from the web app to the web server, then from the web server to the Active Directory server.
Has anyone done this?
TIA,
Chad
_________________________________
There are 2 types of people in the world: