Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DirectoryServices and Windows Authentication
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
DirectoryServices and Windows Authentication
Versions des environnements
Environment:
ASP.NET
OS:
Windows Server 2003
Network:
Windows 2000 Server
Divers
Thread ID:
01031242
Message ID:
01031242
Vues:
60
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
Répondre
Fil
Voir

Click here to load this message in the networking platform