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:
  #1  
Old May 2nd, 2006, 08:54 AM
Kermy Kermy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 9 Kermy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 8 m 14 sec
Reputation Power: 0
IIS Authentication over share

I'm having a problem (well, 2 actually) thats preventing me accessing files on a remote machine through IIS. I'm running XP with IIS 5.1, the remote machine is 2000.

Problem #1: Anonymous authentication is enabled, Integrated Windows Authentication is unchecked, Allow IIS to control password is checked. If I uncheck this, I am continually prompted for '"" at localhost' credentials, and am unable to authenticate.

Problem #2: Following some threads I discovered, I have created a IUSR_<MachineName> account on the remote machine and assigned Full Control permissions on the share, folder and file I'm trying to access. No joy here, still getting that lovely 0x80004005 with 'It is already opened exclusively by another user, or you need permission to view its data'. I also created a virtual directory using the UNC path, trying both Admin / IUSR accounts but IIS just shows an error 'stop sign'.

Getting somewhat lost...

Reply With Quote
  #2  
Old May 2nd, 2006, 09:48 AM
Gnome101's Avatar
Gnome101 Gnome101 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 314 Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 11 h 43 m
Reputation Power: 5
the log in should be from the main owner of the account, or a account you've set up to be able to access the machine.

as for the IUSR_<MachineName> that is manily used for web access, should you be hosting a site to the web. In general I wouldn't use this account to RA a machine.


I'm not sure though why you are having probelms logging in using your main admin account.

Reply With Quote
  #3  
Old May 2nd, 2006, 11:53 AM
Jeethu Jeethu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Banglore India
Posts: 22 Jeethu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 44 m 34 sec
Reputation Power: 0
Send a message via Yahoo to Jeethu
Cool Not able to Access remote share

Hi dude,
Am suspecting some system problems in the installation make sure u install with the latest serivce pack.Try reinstalling IIS .What is the event logs says in the security event log is it showing any access denieds?

Jeethu Joseph
IIS/Asp.net Engineer Microsoft.
http://jeethujoseph.blogspot.com
Comments on this post
bdreyer disagrees: (-1), Wow man... please don't ever touch my computer.

Reply With Quote
  #4  
Old May 2nd, 2006, 04:06 PM
bdreyer's Avatar
bdreyer bdreyer is offline
His name is Robert Paulson!
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Feb 2005
Location: Paper Street
Posts: 2,692 bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 4 h 10 m 43 sec
Reputation Power: 128
1st, Create an account on the machine running IIS called "MyWebAccount" and give it a password. Remove it from the computer users group and explicitly assign permissions as if it were the stander IIS user. Then in IIS admin, change the Directory security account to use "MyWebAccount" and uncheck the box for password control giving the password for the account that you just set up.

Then on the other machine, create a user called "MyWebAccount" with the same password as it is set on the other machine. Remove this user from Computer users group and give them explicit permissions on the folder(s) where you need them. Make the Share Full Control for everyone (you should always limit access via NTFS permissions, not share permissions)...

that's it... it should work... IIS will use the "shared account" to read the share and the NTFS permissions on the other machine will control the type of access.
__________________
Environmental LIMS
What the hell is all this LIMS st*ff about?
---------------------------------------
PHP Pagination Function
PHP Drop Down Menus

Reply With Quote
  #5  
Old May 2nd, 2006, 04:53 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,976 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 17 h 59 m 48 sec
Reputation Power: 802
This is for IIS6 but is a helpful article none the less. There is probably an IIS5 equivalent but I don't have a link

http://www.microsoft.com/technet/pr...s/remstorg.mspx
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved
of it. --Mark Twain

Reply With Quote
  #6  
Old May 4th, 2006, 10:15 AM
Kermy Kermy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 9 Kermy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 8 m 14 sec
Reputation Power: 0
I tried bdreyer's suggestion, and thought things were OK when trying IIS, since I didn't get an immediate permissions error like last time. Instead, IIS just sat there! Local pages were served correctly but got no response when trying to do a simple operation such as reading a share folder modification date.

I tried again, and IIS eventually told me that 'there are too many people trying to access the website at this time'.

I'm thinking I may just wait until the remote box gets replaced with XP and just do a clean install. I wish I could just go over to Apache but thats not an option

Reply With Quote
  #7  
Old May 8th, 2006, 03:09 PM
bdreyer's Avatar
bdreyer bdreyer is offline
His name is Robert Paulson!
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Feb 2005
Location: Paper Street
Posts: 2,692 bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 4 h 10 m 43 sec
Reputation Power: 128
Windows non-server OSs are limited to 10 incoming connections... that's probably what you are seeing.

Reply With Quote
  #8  
Old May 9th, 2006, 05:22 AM
Kermy Kermy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 9 Kermy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 8 m 14 sec
Reputation Power: 0
Okay, I've changed the remote PC to a fresh XP box, deleted all users on the IIS box and started afresh. Pretty much the same issue as before - when trying to read/write to the remote share, IIS seems to hang. After that, IIS won't respond at all unless I restart the machine again.

says it all. Any more suggestions....?

Reply With Quote
  #9  
Old May 9th, 2006, 06:41 AM
Kermy Kermy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 9 Kermy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 8 m 14 sec
Reputation Power: 0
Success! The problem? Script Blocking enabled in Norton Antivirus. Thanks for your help

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS Authentication over share


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 3 hosted by Hostway
Stay green...Green IT