Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

Questions on redirectors

OSR_Community_UserOSR_Community_User Member Posts: 110,217
I have some questions on redirectors:

- under what circumstances NT sets the
FILE_CREATE_TREE_CONNECTION flag in IRP_MJ_CREATE IRP?
Can it be specified from umode in CreateFile?
- under what circumstances the redirector must connect to the server?
Explicit IOCTL from NP DLL - surely. But what on ordinary IRP_MJ_CREATE
requests?
- under what circumstances the redirector must disconnect from the server?
Explicit IOCTL from NP DLL - surely. But what on timeouts?
- is there any ways (like LsaCallAuthenticationPackage) to retrieve the
current user's password in cleartext from LSA to send it to the server
without
bothering the user to type a password?
- what is a proper way to cache credentials (I mean username/password
pairs) in the redirector? Must it be done by using LSA via
LsaCallAuthenticationPackage? Or the redirector must maintain its own
cache and use the logon session termination callback to wipe the stale
entries?
- will NET.EXE (I mean "net use" command) call the MPR and then my NP
DLL or it is tightly bound to SMB network only?
- how to specify the NP order in NT4 or w2k? I remember the explicit dialog
box for it in NT3.x - but looks like it is gone in NT4...
- in the RDBSS sample from the IFS kit, I saw that sometimes
username/password information is passed to the redirector in the EAs
specified to CreateFile. Is it a mandatory thing for redirectors or some
RDBSS proprietary thing?

--
Maxim Shatskih
StorageCraft Corporation
[email protected]
http://www.storagecraft.com
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 24 January 2022 Live, Online
Internals & Software Drivers 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online
Developing Minifilters 23 May 2022 Live, Online