SunQuest
           IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old May 24th, 2005, 03:35 PM
mstannard mstannard is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 mstannard User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 13 sec
Reputation Power: 0
Unhappy IIS User Administration

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!?

Reply With Quote
  #2  
Old May 25th, 2005, 06:05 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,712 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 31 m 33 sec
Reputation Power: 688
Maybe something in this article will help

http://support.microsoft.com/defaul...b;en-us;Q271071
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old May 26th, 2005, 02:09 AM
mstannard mstannard is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 mstannard User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 13 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
Maybe something in this article will help

URL


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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS User Administration


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway