RE: Access Denied on Cancelled Authentication (WSS 3.0)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance





"ids" wrote:

Have you received any responses to your post yet? We are also trying to
accomplish the same thing as you, and have not been able to determine where
we need to perform these modifications. If you've received any information,
please let me know.
Thanks..

"fpmatt" wrote:

Hello everybody,

I'm looking to complete a largely successful SharePoint Services
installation (details at the end of the email), and I'm hoping that
somebody might be able to help with a few straggling issues.

I'm separating things into three posts in hopes it will increase
clarity. This is the last issue of the three.


QUESTION: How can I trap the Access Denied (401 error) a user receives
when cancelling through or otherwise failing Windows authentication
(NTLM)?


When I cancel the browser credential prompt WSS issues as a result of
Windows authentication, I get a rather plain Access Denied page.

Investigation of browser headers, indicates this is a 401 error.
(Logs seem to imply it's a 401.1 followed by a 401.5)

In trying to catch this (and redirect to something more friendly), I
can't override using IIS custom errors on the web application.

I also can't seem to override with custom errors in the web.config for
the application (though I would think the access denied would use the
SharePoint AccessDenied.aspx if the application were handling things).

Simply put, I know it's got to come from IIS through some means, but
can anybody point me to a way to isolate and change this behaviour.


Any pointers would be greatly appreciated.

Many thanks!

Matt



--[ Scenario Details ]--

Configuration Details:
- Windows Users batch generated and assigned to Windows Groups
- SharePoint Groups created to match Windows Groups
- Added Windows Groups as users to SharePoint Groups

In a nutshell, this allows an imperfect, but functional login
mechanism for Windows users to gain entry to SharePoint at appropriate
level. SharePoint creates users in UserInfo table on login, though
SharePoint can't see them until they are explicitly added later.


Technical Details:
- WSS 3.0
- Windows Server 2003 (pre-R2)
- IIS + SMTP
- SQL Server 2000 SP4
- Windows Authentication (NTLM)
- No Active Directory

.



Relevant Pages

  • RE: Access Denied on Cancelled Authentication (WSS 3.0)
    ... Windows authentication, I get a rather plain Access Denied page. ... can't override using IIS custom errors on the web application. ... SharePoint AccessDenied.aspx if the application were handling things). ... Windows Users batch generated and assigned to Windows Groups ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Access Denied on Cancelled Authentication (WSS 3.0)
    ... Windows authentication, I get a rather plain Access Denied page. ... can't override using IIS custom errors on the web application. ... SharePoint AccessDenied.aspx if the application were handling things). ... Windows Users batch generated and assigned to Windows Groups ...
    (microsoft.public.sharepoint.windowsservices)
  • Access Denied on Cancelled Authentication (WSS 3.0)
    ... Windows authentication, I get a rather plain Access Denied page. ... can't override using IIS custom errors on the web application. ... SharePoint AccessDenied.aspx if the application were handling things). ... Windows Users batch generated and assigned to Windows Groups ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Alerts Email Sending Failure (WSS 3.0)
    ... Today, Alerts started working. ... I'm looking to complete a largely successful SharePoint Services ... Windows Users batch generated and assigned to Windows Groups ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Windows SharePoint Error
    ... Terence - I'm in the process of reinstalling SharePoint per KB829114. ... Insert Windows Small Business Server 2003 Disc C:ClieantApps or point to the ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)