473,472 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

authentication problems

Hello,

I have enabled authentication for the site in iis and set the default domain
to the domain we are on. This is working fine and when i list all the server
variables it shows the auth_user as domain\username so all is good there.

However we have a NAS server that has a hidden share and i need to be able
to check whether a folder exists in this directory. If i run the same
script from my PC and specify a folder i know exists it tells me the folder
exists. Howver through iis with authentication enabled it tells me the
directory doesn't exist.

I thought that as i have authenticated with teh server any requests i make
on that page would come from the authenticated user. Am i missing something
or a setting?

if anyone could offer any clues i would be very grateful

cheers
Oct 27 '05 #1
2 1554
"steven scaife" <st**********@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Hello,

I have enabled authentication for the site in iis and set the default
domain
to the domain we are on. This is working fine and when i list all the
server
variables it shows the auth_user as domain\username so all is good there.

However we have a NAS server that has a hidden share and i need to be able
to check whether a folder exists in this directory. If i run the same
script from my PC and specify a folder i know exists it tells me the
folder
exists. Howver through iis with authentication enabled it tells me the
directory doesn't exist.

I thought that as i have authenticated with teh server any requests i make
on that page would come from the authenticated user. Am i missing
something
or a setting?

if anyone could offer any clues i would be very grateful


Are you using Basic or Windows Integrated? If it's Windows Integrated, it's
probably failing because in that scheme the password is never sent to IIS,
so IIS cannot authenticate the user to the third machine - this is known as
a double hop delegation issue. Switch to Basic and see if it works.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
Oct 27 '05 #2
thanks i was using integrated windows with basic authentication checked. I
removed integrated windows and it worked.

cheers

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:eb*************@TK2MSFTNGP15.phx.gbl...
"steven scaife" <st**********@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Hello,

I have enabled authentication for the site in iis and set the default
domain
to the domain we are on. This is working fine and when i list all the
server
variables it shows the auth_user as domain\username so all is good there.

However we have a NAS server that has a hidden share and i need to be
able
to check whether a folder exists in this directory. If i run the same
script from my PC and specify a folder i know exists it tells me the
folder
exists. Howver through iis with authentication enabled it tells me the
directory doesn't exist.

I thought that as i have authenticated with teh server any requests i
make
on that page would come from the authenticated user. Am i missing
something
or a setting?

if anyone could offer any clues i would be very grateful


Are you using Basic or Windows Integrated? If it's Windows Integrated,
it's probably failing because in that scheme the password is never sent to
IIS, so IIS cannot authenticate the user to the third machine - this is
known as a double hop delegation issue. Switch to Basic and see if it
works.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS

Oct 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Adi Sapir | last post by:
Hi, We're currently planning to migrate from SQL Auth to Windows Auth. Personally, I do not have too much experience with Windows authentication but have heard that there are some problems when...
10
by: See Sharp | last post by:
Hello all, I have a set of admin pages which are put in a subfolder called admin inside my application folder. I want to limit access to these admin pages. How can I do this? In Linux, I can...
2
by: Lior Amar | last post by:
Hey All, Trying to understand why I can not get SQL server to trust my IIS server. I have two machines set up, 1 App and 1 DB, and I'm trying to validate the applications access to the DB server...
0
by: Jenny | last post by:
Hi all I've problems with forms authentication. I'm using a simple function on the login.aspx page: Private Sub LoginButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
0
by: Dotnet Guy | last post by:
I have set up forms authentication for my web application. I have several subdirectories inside a main directory and I have forms authentication for each of my sub directories. In the logon page...
2
by: Mike | last post by:
1. For some reason after the session has ended and the authentication cookie has expired I'm not being redirected to the login page. Insted I'm be assigned a new authentication cookie? Anyone have...
4
by: Lewis Edward Moten III | last post by:
I have a file that users can download through a web page protected by forms authentication: Download.aspx?ID=45 and within that file ... FileInfo fileToDownload = new FileInfo(fileName);
7
by: Justin | last post by:
I am trying to password protect a subdirectory using forms authentication. I am using the "Location" tag to specify the directory to be protected. The login.aspx page is in the root directory of...
3
by: SMG | last post by:
Hi All, It might be a silly doubt, but it is a doubt.... I am using form authentication for my website, now my web application is gonna be deployed on two web servers with Load Balancing...
2
by: thechaosengine | last post by:
Hi eveyone, If anyone could advise on the following I would be truly greatful: I have a fairly standard set up. An IIS 5.1 website set up with anonymous access allowed in all areas of the site...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.