Re: Application Pool domain credentials



"Table does not exist" on the .Execute method when I attempt to do the
search.

If I add credentials to the ADODB connection object it works fine.

Although the Application pool is running under the context of a domain
account, the thread that is launched when the web page is accessed seems to
be running without credentials.

Thanks

Steve
"Ken Schaefer" <kenREMOVE@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:%230ELCFHgGHA.2032@xxxxxxxxxxxxxxxxxxxxxxx
That should work fine then...

What is the error you are seeing?

Cheers
Ken

"Steve Smith" <steve.a.smith@xxxxxxx> wrote in message
news:OYUYwHAgGHA.3996@xxxxxxxxxxxxxxxxxxxxxxx
Hi Ken

The web page would be ASP.NET

The web page should allow anonymous access.

Thanks

Steve


"Ken Schaefer" <kenREMOVE@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:u9D7JL7fGHA.4004@xxxxxxxxxxxxxxxxxxxxxxx
a) What type of web page is this? ASP? ASP.NET? PHP? That will affect
what account is actually used to connect to AD

b) Are you allowing anonymous authentication? Or are you forcing the
user to authenticate to access the web page? if the latter, what AuthN
mechanism are you using (e.g. Basic, IWA, Digest etc)?

Cheers
Ken

"Steve Smith" <steve.a.smith@xxxxxxx> wrote in message
news:Oag4At0fGHA.2188@xxxxxxxxxxxxxxxxxxxxxxx
I am building a web page that will invoke a server-side process that
needs to query Active Directory.

I have set up a non-privileged account and have configured an
application pool for the virtual directory to use this account on the
identity tab.

When I run the application, I am still not properly credentialed when I
get to AD with my ADODB connection.

Is there an easy way to do this? I would think it would be better to
configure an App Pool with credentials for this virtual directory then
it would be to put credentials into the server-side script (even though
they may be encrypted in the web.config file)

Any advice would be appreciated. I am new to web programming so I could
be way off base here.

Thanks

Steve Smith











.



Relevant Pages

  • Re: User May be Logged in somewhere else. Lockout 3x a day
    ... Could also be an Scheduled Task or mapped drive that uses persistent credentials. ... Common Causes for Account Lockouts ... This section describes some of the common causes for account lockouts The common ... manager on member computers that use the account as well as domain controllers. ...
    (microsoft.public.win2000.general)
  • Re: Please help me, it is highly Urgent.............
    ... The reason why the threshold is given as 5 is because of security concern. ... with credentials that subsequently expired. ... Account lockout duration = 0 ... Persistent drives may have been established ...
    (microsoft.public.windows.server.active_directory)
  • Re: How do you wintrolls...
    ... the system will automatically log in with those credentials from then on. ... account credentials, exactly what files do you think he wants to access? ... When Vista asks you if a newly discovered network is 'Public' or 'Private', this is one of the things it is doing. ... I have not found any necessary functionality in the menu bar; as far as I can see the only the functions that are in the menu bar are the greybeard switch for the old-style status bar and, oddly, the 'Invert Selection' command- which strictly speaking can always by done manually. ...
    (comp.sys.mac.advocacy)
  • Re: Accessing Virtural directory on remote machine
    ... > account configured for Web Application Pools in IIS 6.0. ... > i) create a user account, with the same name, on both machines. ... create a virtual directory that points to a UNC ... > iii) specify the credentials that you created in as the credentials ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: custom page for user credentials?
    ... credentials against the various domains. ... after the user authenticates with IIS handling the SSPI Negotiation. ... possible for IIS6 to link a Passport user account to an AD user account -- ...
    (microsoft.public.inetserver.iis.security)