1
1388-2/HB
On a W2K3 box running IIS 6 I have a web app that implements Forms
Authentication mixed with AD (the login page autheticates users against AD &
impersonates them with each page request). This means my process identity
varies, and is not necessarily "ASPNET" or "IUSR...". My process identity
for any given page request will be user1, user2, user3, etc. (there's a lot
of them)
This web app needs to copy files (Word documents) from our old Novell 5
server onto the W2K3 box, and I'm encountering what I believe is a
permissions problem. Here's what I've tried doing:
IO.File.Exists(\\NovellServer\volume\folder\file.doc)
This is a valid path to a valid file that does exist, but the query returns
False. I assume the web app doesn't have access this
server/volume/folder/file from within the security context of the currently
executing request. Which does make sense since none of the users typically
logging into the website ever needed or were ever granted logins to the
Novell server.
I do have one Novell login that is "synchronized" with AD (the username and
password are the same). So, I attempted this:
'...code gets to the point where it is ready to play with novell files:
[impersonate as sychronized AD/Novell user]
IO.File.Exists(\\NovellServer\volume\folder\file.doc)
But this still returns False.
I'm uncertain how to proceed. What else should I try?
Authentication mixed with AD (the login page autheticates users against AD &
impersonates them with each page request). This means my process identity
varies, and is not necessarily "ASPNET" or "IUSR...". My process identity
for any given page request will be user1, user2, user3, etc. (there's a lot
of them)
This web app needs to copy files (Word documents) from our old Novell 5
server onto the W2K3 box, and I'm encountering what I believe is a
permissions problem. Here's what I've tried doing:
IO.File.Exists(\\NovellServer\volume\folder\file.doc)
This is a valid path to a valid file that does exist, but the query returns
False. I assume the web app doesn't have access this
server/volume/folder/file from within the security context of the currently
executing request. Which does make sense since none of the users typically
logging into the website ever needed or were ever granted logins to the
Novell server.
I do have one Novell login that is "synchronized" with AD (the username and
password are the same). So, I attempted this:
'...code gets to the point where it is ready to play with novell files:
[impersonate as sychronized AD/Novell user]
IO.File.Exists(\\NovellServer\volume\folder\file.doc)
But this still returns False.
I'm uncertain how to proceed. What else should I try?