Sunday, January 16, 2011

What does <domain name>\<computer name>$ mean?

I'm experiencing a supposed ASP authentication problem, and the error is that access is denied to a user:

MYDOMAIN\MYCOMPUTER$

Where MYDOMAIN is a placeholder for the domain name, and MYCOMPUTER is the computer name. Does this have a special meaning? I'm thinking it might mean "local system account" or it may designate a computer account.

  • this is accessing the administrative shares on windows

    Eric Smith : According http://en.wikipedia.org/wiki/Administrative_share, administrative shares include `\\MYCOMPUTER\(drive letter)$` and `\\MYCOMPUTER\admin$` but that doesn't match the pattern that I have above.
    TheCleaner : This is incorrect. It is the computer account itself not a share on the computer. That would be represented as COMPUTER\IPC$ or COMPUTER\C$ or similar.
    From dyasny
  • This should refer to the account of your computer in the Active Directory.

    You should check if your user has the right to access to this computer.

    From Benoit
  • User Accounts with a naming scheme of DOMAIN\MACHINE$ are so-called machine-accounts and represent the named machine within that domain. Those accounts are created when you join that computer to a domain.

  • As a few others have mentioned, it is the computer account itself not the user account.

    ASP authentication errors like this are typically due to the computer account itself being passed as the authentication token instead of your user account.

    If you are wanting Windows User account authentication for the ASP page instead try the following 2 options:

    On the directory security tab in your IIS application directory, you need to set "Integrated Windows Authentication" to true so it knows to ask for your username and password.

    OR

    Try adding this key to web.config:

    <identity impersonate="true" UserName="YourDomain\=Your windows username" Password = "your windows password" />
    

    More information about ASP impersonation settings can be found here: http://msdn.microsoft.com/en-us/library/aa292118%28VS.71%29.aspx

    From TheCleaner

0 comments:

Post a Comment