Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DirectoryServices and Windows Authentication
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
DirectoryServices and Windows Authentication
Environment versions
Environment:
ASP.NET
OS:
Windows Server 2003
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01031242
Message ID:
01031242
Views:
59
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:
    Those who need closure
Reply
Map
View

Click here to load this message in the networking platform