Re: HELP PLEASE The request failed with HTTP status 401: Access Denied.

From: John (jonashbaugh@hotmail.com)
Date: 11/26/02


From: "John" <jonashbaugh@hotmail.com>
Date: Tue, 26 Nov 2002 10:57:48 -0800


I have turned on all security auditing and this is what I have found. When
trying to connect using the code I get this:
Logon Failure:

Reason: Unknown user name or bad password

User Name: USeRx

Domain: VCNET

Logon Type: 3

Logon Process: IIS

Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0

Workstation Name: WRK1

When connecting to the site via a browser I get this:
Successful Logon:

User Name: USeRx

Domain: VCNET

Logon ID: (0x0,0x5FC98)

Logon Type: 2

Logon Process: IIS

Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0

Workstation Name: WRK1

Logon GUID: {00000000-0000-0000-0000-000000000000}

Is there a security policy I am not setting up correctly?

"nu-k-ar" <nospam@plz.com> wrote in message
news:ejxB5fWlCHA.2240@tkmsftngp04...
> 1.) turn on all your security policy logging
>
> 2.) check if u have an real login (means kerberos token)
> 3.) if u go to an remote sql-server (integrated sec), mark u're
web-service
> server "for delegation" in the AD
> http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q283201
>
> 4.) disable integrated sec on the web-server cause integrated is stronger
> than basic
>
> 5.) if u go with integrated then u deliver a kerberos token
>
> isent it NetWorkCredential.getGredential(URI)
> cred.user
> cred.pass
> cred.realm
>
> check your security logs...
>
> blaaa....
>
> .::[nu-k-ar]::
>
>
> "John" <jonashbaugh@hotmail.com> wrote in message
> news:#2ltUjVlCHA.2036@tkmsftngp07...
> > We have basic authentication on through IIS. We are running a win xp pro
> > server. When trying to access the site via a browser I get the login and
> > password page. I put in the valid login and password and I am able to
> access
> > the site. However through our code we cannot access the site
> automatically.
> > I am missing something? Thanks in advance. This site is accessible via
the
> > internet.
> >
> > Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As
> > System.Web.UI.ImageClickEventArgs) Handles btnLogin.Click
> >
> > Dim Service As New localhost.ABCService()
> >
> > Dim credentials As System.Net.NetworkCredential = New
> > System.Net.NetworkCredential("USeR", "xxxxxx")
> >
> > Service.Credentials = credentials
> >
> > Dim Info As String = Service.Login(LCase(txtUser.Text),
> > LCase(txtPassword.Text), LCase(txtCompany.Text))
> >
> > Dim str As String
> >
> > If Info = "Error" Then
> >
> > Response.Redirect("login_err.aspx")
> >
> > End IF
> >
> > End Sub
> >
> >
>
>



Relevant Pages

  • Re: Unknown Domain user - domain authentication appears limited
    ... (using cached login). ... Microsoft MVP (Windows Server System: Security) ... > due to the following error: Logon failure: the user has not been granted ...
    (microsoft.public.windows.server.security)
  • Re: Login Errors Seem to indicate we are being hacked?
    ... I've got ISA configured so it only allows SMTP and RWW, and I use RWWGuard for RWW security, so I'm confident that in my case it can't be anything but SMTP. ... Logon Failure: ... Caller User Name: SERVER01$ ... Ie what is a logon type 3 and what do the caller Login ...
    (microsoft.public.windows.server.sbs)
  • Re: Hacking attempts?
    ... Event Source: Security ... Logon Failure: ... Caller User Name: SERVER$ ... Upon examining the security logs, I discovered that there were 9 login attempts a second, trying to login to the RWW with random user names. ...
    (microsoft.public.windows.server.sbs)
  • Re: Hacking attempts?
    ... Event Source: Security ... Logon Failure: ... Caller User Name: SERVER$ ... Upon examining the security logs, I discovered that there were 9 login attempts a second, trying to login to the RWW with random user names. ...
    (microsoft.public.windows.server.sbs)
  • Re: Logon Error - Event ID 533
    ... The suggestion regarding security logs should not apply if the overwrite option has been selected and you have the default maximum of 512 kb. ... How to Set Log Size and Overwrite Options ... The user cannot logon and no Profile folder is made, ... screen whether with a domain account or a local account from the ...
    (microsoft.public.windowsxp.help_and_support)