Don't change the account IIS is running under - that is a pretty big
security issue waiting to happen.
Change the authentication model for the web site to Basic, then logon as
you. That will cause any execution to be in the security context you are
expecting.
Pat
"paulp" <[EMAIL PROTECTED]>
Based on your comment, I finally realized that IIS is running under the
IUSR_ account. So I changed the priveleges on this account on my test IIS
server as related elsewhere in this note. So now I'm getting a different
error.
1326, "LogonUser", "Logon failure: unknown user name or bad password"
Here is where my ignorance shows. What is a "double hop" issue?
Paul
"Pat [MSFT]" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Set the site to be Basic Authentication and login as you. I suspect that
> the .exe is either running as IWAM/IUSER (i.e. GUEST) or you are running
> i
Set the site to be Basic Authentication and login as you. I suspect that
the .exe is either running as IWAM/IUSER (i.e. GUEST) or you are running
into a double hop issue.
Pat
"paulp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greetings,
>
> I'm working on a CGI program tha
You need to adjust your privileges before you call LogonUser.
hth
Roger
"paulp" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Greetings,
>
> I'm working on a CGI program that will run under MS IIS 5.0 and will
> browse folders on three other machines, building HTML page
Greetings,
I'm working on a CGI program that will run under MS IIS 5.0 and will
browse folders on three other machines, building HTML pages that will
provide links to these folders.
Essentially, the CGI will connect to each machine in turn, doing the
FindFirst/FindNext process based on the curren