|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi,
I am running IIS5 on Windows 2000 Server and having a bit of a problem with Authentication. I have a VB Web Class application which looks at the current user to retrieve their home directory. I have just moved the server and now the application fails. The application uses IIS to prompt for the username/password which matches a local user account. The local user account has the relevant home directory. Whereas before authenticating passed the correct username, now you are still prompted for the username but all access is mapped to the IWAM_ComputerName rather than the actual user account. Any ideas!? |
|
#2
|
|||
|
|||
|
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Quote:
Thanks Doug. I read this article just before posting but all of the NTFS permissions were correct - I've overcome the problem by a bit of a fudge. My application used the Windows API GetUserName fucntion within the Web Class to get the current username (which was always IWAM_ComputerName rather than the actual authenticated user), what I did was create a global variable which was set to Request.ServerVariables("AUTH_USER") which has COMPUTERNAME\USERNAME which is what the GetUserName function used to return. I'm confused as to how "AUTH_USER" can be one value but the actual user logged in is another, I guess IIS maps the Web Class aplication to the IWAM_ComputerName account - does this sound plausable? |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > IIS User Administration |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|