Highlighted
Absent Member.
Absent Member.
4912 views

Access Netware files from IIS 6

I have been looking for a solution to this problem for months, and havent found a solution that applies to Windows 2003 / IIS 6 yet.

My setup is as follows:

IIS 6.0 in Windows 2003 SP1
ASP.NET 2.0
Novell Client 4.91 SP3
Files are on a Novell 6.5 server

I have tried everyway I can possibly think of to be able to access Netware files (on a mapped share) from ASP.NET, but nothing works. I have tried changing Client versions (back to 4.83), impersonating Novell users, and creating the IUSR_Machine Name Novell account, and a number of other things. I am completely frustrated and out of ideas.

As I can only find a few posts on this subject, I feel like I must be doing something completely wrong, as no one else seems to have this problem. Does anyone have a successful implementation of accessing Netware files from ASP.NET?

Thanks,
Chris
Labels (1)
0 Likes
9 Replies
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

When you say "mapped share", you are logging into the NW server from the
Windows server and mapping a drive letter using the MAP command (not NET
USE)? And having done that you can browse that drive letter? If so, I
see no reason from the Novell perspective why any app on that Windows
server couldn't access that drive letter like any other.

What exactly goes wrong? Any errors or messages?
--
Andrew C Taubman
Novell Support Forums Volunteer SysOp
http://forums.novell.com/
(Sorry, support is not provided via e-mail)

Opinions expressed above are not
necessarily those of Novell Inc.

Andrew C Taubman (Sorry, support is not provided via e-mail) Opinions expressed above are not necessarily those of Micro Focus.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

dickch03 <dickch03@no-mx.forums.novell.com> wrote:

> I have tried everyway I can possibly think of to be able to access
> Netware files (on a mapped share) from ASP.NET, but nothing works. I
> have tried changing Client versions (back to 4.83), impersonating
> Novell users, and creating the IUSR_Machine Name Novell account, and a
> number of other things. I am completely frustrated and out of ideas.
>
> As I can only find a few posts on this subject, I feel like I must be
> doing something completely wrong, as no one else seems to have this
> problem. Does anyone have a successful implementation of accessing
> Netware files from ASP.NET?


I do not have a successful implementation of using IIS to access files
from a NetWare server, and I do not know if possibly there are
IIS-specific hurdles for being able to do so.

Generically though, the first thing you have to achieve is getting a
Windows service that is /not/ Novell-aware to indirectly get
authenticated successfully to eDirectory. See the details in
http://www.novell.com/support/viewContent.do?externalId=7000312 for a
discussion of that topic.

In general, a "mapped share" will not be involved, because mapped
drives of any sort are specific to the Windows logon session in which
they were created. Since IIS is running as a service, which is a
different Windows logon session than any interactive user session
where you're able to map and unmap drives, the drives you're able to
map aren't going to be accessible by a Windows service, IIS or
otherwise.

Unless IIS does offer a way to establish mapped network drives from
within the context of the Windows service itself (i.e. the IIS service
issues the command to map the drive), you will probably be limited to
accessing the files via UNC paths instead of literal mapped drives.

Alan Adams
alancrumbadams@drcrumb.com
(for email, remove the crumbs)
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

Hi,

I think I tried something like this in the dark past without luck.

However, are you able to run up cifs on the NW server, share what you need and then point IIS to this (now windows) share? Should work.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

Thanks to all for your responses so far.

In response to the CIFS idea, it sounds like it should work, however the Network Admin here does not like the security issues associated with it.


When you say "mapped share", you are logging into the NW server from the
Windows server and mapping a drive letter using the MAP command (not NET
USE)? And having done that you can browse that drive letter? If so, I
see no reason from the Novell perspective why any app on that Windows
server couldn't access that drive letter like any other.



Yes, I have drive letters mapped using the MAP command, and can browse the drive letter, even using the IUSR_Machine Name username. Local apps are able to access that drive without a problem, but when running an application from the web (through IIS) that drive cannot be accessed. There are unfortunately no errors given except invalid path, and nothing appears on the Windows Event Viewer to give any more clues.


Generically though, the first thing you have to achieve is getting a
Windows service that is /not/ Novell-aware to indirectly get
authenticated successfully to eDirectory. See the details in
http://www.novell.com/support/viewCo...rnalId=7000312 for a
discussion of that topic.



This idea seems valid to me, I will attempt it at my earliest convenience.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

Please send an Email to Craig_D_Wilson at Yahoo.Com

I have some tools that will allow for Easy ServiceAccount access to NetWare
shares.
I will be travelling tomorrow so don't expect a quick response.

"dickch03" <dickch03@no-mx.forums.novell.com> wrote in message
news:dickch03.39szlz@no-mx.forums.novell.com...
>
> Thanks to all for your responses so far.
>
> In response to the CIFS idea, it sounds like it should work, however
> the Network Admin here does not like the security issues associated
> with it.
>
>
>> When you say "mapped share", you are logging into the NW server from
>> the
>> Windows server and mapping a drive letter using the MAP command (not
>> NET
>> USE)? And having done that you can browse that drive letter? If so, I
>> see no reason from the Novell perspective why any app on that Windows
>> server couldn't access that drive letter like any other.
>>

>
>
> Yes, I have drive letters mapped using the MAP command, and can browse
> the drive letter, even using the IUSR_Machine Name username. Local apps
> are able to access that drive without a problem, but when running an
> application from the web (through IIS) that drive cannot be accessed.
> There are unfortunately no errors given except invalid path, and
> nothing appears on the Windows Event Viewer to give any more clues.
>
>>
>> Generically though, the first thing you have to achieve is getting a
>> Windows service that is /not/ Novell-aware to indirectly get
>> authenticated successfully to eDirectory. See the details in
>> http://www.novell.com/support/viewCo...rnalId=7000312 for a
>> discussion of that topic.
>>

>
>
> This idea seems valid to me, I will attempt it at my earliest
> convenience.
>
>
> --
> dickch03
> ------------------------------------------------------------------------
> dickch03's Profile: http://forums.novell.com/member.php?userid=18494
> View this thread: http://forums.novell.com/showthread.php?t=329374
>



0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

I'm fairly certain that mapped drives won't work in this scenario (it used
to work in NT, and possibly even 2000 up to a certain service pack,
but not 2003).

Instead, you need to use UNC format (\\server\vol\directory\file.ext).

Bob Haussmann


"dickch03" <dickch03@no-mx.forums.novell.com> wrote in message
news:dickch03.39rdqo@no-mx.forums.novell.com...
>
> I have been looking for a solution to this problem for months, and
> havent found a solution that applies to Windows 2003 / IIS 6 yet.
>
> My setup is as follows:
>
> IIS 6.0 in Windows 2003 SP1
> ASP.NET 2.0
> Novell Client 4.91 SP3
> Files are on a Novell 6.5 server
>
> I have tried everyway I can possibly think of to be able to access
> Netware files (on a mapped share) from ASP.NET, but nothing works. I
> have tried changing Client versions (back to 4.83), impersonating
> Novell users, and creating the IUSR_Machine Name Novell account, and a
> number of other things. I am completely frustrated and out of ideas.
>
> As I can only find a few posts on this subject, I feel like I must be
> doing something completely wrong, as no one else seems to have this
> problem. Does anyone have a successful implementation of accessing
> Netware files from ASP.NET?
>
> Thanks,
> Chris
>
>
> --
> dickch03
> ------------------------------------------------------------------------
> dickch03's Profile: http://forums.novell.com/member.php?userid=18494
> View this thread: http://forums.novell.com/showthread.php?t=329374
>


0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

Bob,

Thanks for your response. I have tried UNC paths in a number of different ways with no results. I think the problem might be bigger than that.


support-forumus.novell.com;1565425 wrote:
I'm fairly certain that mapped drives won't work in this scenario (it used
to work in NT, and possibly even 2000 up to a certain service pack,
but not 2003).

Instead, you need to use UNC format (\\server\vol\directory\file.ext).

Bob Haussmann


"dickch03" <dickch03@no-mx.forums.novell.com> wrote in message
news:dickch03.39rdqo@no-mx.forums.novell.com...
>
> I have been looking for a solution to this problem for months, and
> havent found a solution that applies to Windows 2003 / IIS 6 yet.
>
> My setup is as follows:
>
> IIS 6.0 in Windows 2003 SP1
> ASP.NET 2.0
> Novell Client 4.91 SP3
> Files are on a Novell 6.5 server
>
> I have tried everyway I can possibly think of to be able to access
> Netware files (on a mapped share) from ASP.NET, but nothing works. I
> have tried changing Client versions (back to 4.83), impersonating
> Novell users, and creating the IUSR_Machine Name Novell account, and a
> number of other things. I am completely frustrated and out of ideas.
>
> As I can only find a few posts on this subject, I feel like I must be
> doing something completely wrong, as no one else seems to have this
> problem. Does anyone have a successful implementation of accessing
> Netware files from ASP.NET?
>
> Thanks,
> Chris
>
>
> --
> dickch03
> ------------------------------------------------------------------------
> dickch03's Profile: NOVELL FORUMS - View Profile: dickch03
> View this thread: Access Netware files from IIS 6 - NOVELL FORUMS
>
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Access Netware files from IIS 6

Hi,

dickch03 wrote:
>
> Bob,
>
> Thanks for your response. I have tried UNC paths in a number of
> different ways with no results. I think the problem might be bigger
> than that.


Actually, it isn't, if you followed Alan's advice and read the contents
at the link he posted throroughly (and applied the client patches
mentioned there, which are crucial).

CU,
--
Massimo Rosen
Novell Product Support Forum Sysop
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Access Netware files from IIS 6

Thanks to everyone for your help. UNC paths and Alan's advice indeed worked correctly, the login patch seems to fix everything. Glad to finally get this problem resolved.

mrosen;1566158 wrote:
Hi,

dickch03 wrote:
>
> Bob,
>
> Thanks for your response. I have tried UNC paths in a number of
> different ways with no results. I think the problem might be bigger
> than that.


Actually, it isn't, if you followed Alan's advice and read the contents
at the link he posted throroughly (and applied the client patches
mentioned there, which are crucial).

CU,
--
Massimo Rosen
Novell Product Support Forum Sysop
No emails please!
Untitled Document
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.