Re: calling ADSI objects from Web Application
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Date: Fri, 28 Jan 2005 11:09:15 -0000
[snip]
> When I run the application from any computer and authenticate as a user
> with
> domain administrator privilige, everything works fine. When I authenticate
> as
> a normal user application fail at line
> SearchResult res = ds.FindOne();
> throwing this exception:
>
[snip]
> Can anybody have any idea what I should do? I'd be very grateful. Thanks
> in
> advance.
When you run a web app the app will propagate as either ASPNET or NETWORK
SERVICE as default (depending on IIS version).
To change this behaviour you need to switch on impersonation in web.config.
--
James
Relevant Pages
- Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
... On the 2nd part of my post, re. my "original" problem, I *think* that the problem may be that we were calling the LDAPJDK authenticate() method using a username of the form user@xxxxxxxxxxxxx I think that the admin username in the authenticateshould be a "full DN" style username. ... In other words, if the password was "Foobar123", and my password reset webapp changes the password to "Foobar456", I can bind using ldifde using either of those two passwords, even after rebooting the AD machine!! ... However, when I try to login to the AD machine as "test1", I can only login using the "correct" password, as set by my password web app. ... The original problem that I ran into today was that in this one environment, the authenticateusing the admin username/password is failing with an "invalid_credential" error, even though we KNOW that the admin username and password are valid. ... (microsoft.public.windows.server.active_directory) - HttpContext.Current.User returns old user id
... In my web app I get the logged in user's id using ... I can then compare this to ActiveDirectory ... to authenticate, and off we go. ... (microsoft.public.dotnet.framework.aspnet) - Windows authorization problem
... I have a Web app currently running on a W2k3 server ... when I put this Web App on the Domain Controller I get ... When I try to authenticate as "Jimmy" I get: ... (microsoft.public.dotnet.framework.aspnet.security) - Re: Apple gives in to the pressure?
... Dave Balderstone wrote: ... how well does a web app work when not connected to the internet? ... (comp.sys.mac.system) - SingleSignOn Problem
... I have created a web App where Single sign on needs to be implemented, ... - HTML App ... when ever i authenticate my main web app, ... Can u plz guide how should i go abt these ... (microsoft.public.dotnet.security) |
|