Fwd: [ntfsd] Create a file on a mapped network drive

Forwarding to ntdev again as actual question missed in my earlier mail…

---------- Forwarded message ----------
From: suresh chepuri
Date: Thu, Nov 11, 2010 at 4:08 PM
Subject: Re: [ntfsd] Create a file on a mapped network drive
To: Windows File Systems Devs Interest List

Hi ljoel,

I have similar problem. My driver is at Volume stack and spanned multiple
system threads to access files. Now i wanted to create/access files shared
on Network share like \\share. Could you advice on this?
My assumption is that impersonation works at FS layer as it is able to
access User Context.
Any ideas?


On Mon, Jul 19, 2010 at 1:31 PM, wrote:

> Hi
> Thank you for your answer. I tried to create the file via lanman redirector
> from the thread which executes the DriverEntry routine.
> Cheers
> —
> NTFSD is sponsored by OSR
> For our schedule of debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Maxim S. Shatskih to Windows
show details Jul 19

> I have mapped \\bla <file:> (Windows Server
2008) to Z: (XP). Now I would like to create a new
>file there. If I try to create a file with ??\Z:\test I get c0000034
“object name not found”.

Surely, the network drive letters are per-user-session.

>Next I checked the if its possible via lanmanredirector. With
>\Device\LanmanRedirector\>\bla\test I get C0000022 “access

From what thread are you doing this?

Maxim S. Shatskih
Windows DDK MVP
- Show quoted text -</file:>