RE: UNC file share and NTLM user identity

From: Bassel Tabbara [MSFT] (basselt@online.microsoft.com)
Date: 04/07/03

  • Next message: Philippe Vosges: ""Unknown error" with DirectoryServices and MS Exchange"
    From: basselt@online.microsoft.com ("Bassel Tabbara [MSFT]")
    Date: Mon, 07 Apr 2003 05:16:41 GMT
    
    

    Hello Michael,
    I will do more research on this and will provide you with a viable solution.

    Thanks,
    Bassel Tabbara
    Microsoft, ASP.NET

    This posting is provided "AS IS", with no warranties, and confers no rights.

    --------------------
    | Content-Class: urn:content-classes:message
    | From: "Michael Leung" <kmleung@hec.com.hk>
    | Sender: "Michael Leung" <kmleung@hec.com.hk>
    | Subject: UNC file share and NTLM user identity
    | Date: Sun, 6 Apr 2003 06:20:43 -0700
    | Lines: 57
    | Message-ID: <01ed01c2fc3f$53a88f10$a601280a@phx.gbl>
    | MIME-Version: 1.0
    | Content-Type: text/plain;
    | charset="iso-8859-1"
    | Content-Transfer-Encoding: 7bit
    | X-Newsreader: Microsoft CDO for Windows 2000
    | Thread-Index: AcL8P1OoE8DJP0gfTA+5GVVr9H8ANw==
    | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    | Newsgroups: microsoft.public.dotnet.framework.aspnet.security
    | Path: cpmsftngxa08.phx.gbl
    | Xref: cpmsftngxa08.phx.gbl
    microsoft.public.dotnet.framework.aspnet.security:4716
    | NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
    | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
    |
    | Hi,
    |
    | I have used a wrong email address. This one belongs to my
    | MSDN subscription. I do a re-post.
    |
    | All machines are in the same domain (AOL_DEV). I have a
    | W2KAS running IIS having two web sites. port 80 points to
    | c:\inetpub\wwwroot and port 81 points to \\192.168.8.1
    | \fileshare\wwwroot\
    |
    | In both port 80 & 81, I have the following ASP page
    | statement
    | Welcomes <%=Request.ServerVariables("REMOTE_USER")%>
    | It works fine. I get "Welcomes AOL_DEV\dcs4585"
    |
    | I followed Microsoft's document
    | "http://msdn.microsoft.com/library/en-
    | us/dnbda/html/authaspdotnet.asp" to create a domain
    | account for .NET Process model in machine.config and
    | impersonation in WEB.config. I granted that account TCB
    | privilege. I used the local administration account for IIS
    | UNC Token to create the WEB site.
    |
    | In both port 80 and 81, I have the following ASP.NET
    | statements.
    |
    | Response.Write("You are : " +
    | Context.User.Identity.Name.ToString() + "<BR>");
    | Response.Write("Page run as : " +
    | System.Security.Principal.WindowsIdentity.GetCurrent
    | ().Name.ToString() + "<BR>");
    | Response.Write("Root is : " +
    | Request.PhysicalApplicationPath.ToString() + "<BR>");
    |
    | In Port 80, I get the following response:-
    | You are : AOL_DEV\dcs4585
    | Page run as : AOL_DEV\dcszcluster
    | Root is : c:\inetpub\wwwroot\
    |
    | Unluckily in Port 81, I get the following response:-
    | You are : DCSCS5\Administrator
    | Page run as : AOL_DEV\dcszcluster
    | Root is : \\192.168.8.1\fileshare\wwwroot\
    |
    | Questions?????
    | The whole purpose of impersonation is to keep the original
    | authenticated user's identity while executing in another
    | user's privileges. The response from port 80 (without UNC
    | file share) is correct but that from port 81 (with UNC
    | file share) is not. I believe it is a bug.
    |
    | Imagine you have 20 NLBs for load balancing. Is it better
    | to deploy the .NET application to one single UNC directory
    | rather that to deploy it to 20 local machines?
    |
    | Michael Leung
    |
    |


  • Next message: Philippe Vosges: ""Unknown error" with DirectoryServices and MS Exchange"

    Relevant Pages

    • UNC file share and NTLM user identity
      ... All machines are in the same domain. ... port 80 points to ... I granted that account TCB ... The response from port 80 (without UNC ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • UNC file share and NTLM user identity
      ... All machines are in the same domain. ... port 80 points to ... I granted that account TCB ... The response from port 80 (without UNC ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: shared printer will not work?
      ... I guess the Wiz decided to dummy up this time without the UNC, perhaps even cofiguring an improper port. ... Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm ... Click Local printer attached to this computer, ...
      (microsoft.public.windowsxp.general)
    • Re: cannot send mail from Windows mail
      ... When a username/password combination doesn't work in Windows Mail, ... I mean I dont use it but as outgoing address for my ISP account. ... youir username and password are correct for your mail server". ... Ask your home ISP if they support SMTP on a port other than 25. ...
      (microsoft.public.windows.vista.mail)
    • Re: cannot send mail from Windows mail
      ... Enable your Gmail account for POP: ... Do not change the incoming server. ... Should O ask my ISP? ... Ask your home ISP if they support SMTP on a port other than 25. ...
      (microsoft.public.windows.vista.mail)

  • Quantcast