NetShareAdd() In Kernel Mode

NetShareAdd() In Kernel Mode

Post by sharon sah » Tue, 22 Mar 2005 20:32:33


Hello

In user mode, when you set sharing on a directory the NetShareAdd
function is called.
What function is called in kernel mode when you share a directory?

When ZwCreateFile is called due to directory access, is there any way
to know if the directory is shared?

Thanks
 
 
 

1. NetShareAdd() In Kernel Mode

2. NetShareAdd XP Home (In Workgroup Mode)

The share that is created using NetShareAdd on an XP Home machin in workgroup
mode is not accessible to any other computer. but if i create it using
windows explorer it's accessible to all other computers. the only thing that
i think i'm missing is checking the check box "Allow other users to change my
files"

I'm using the SHARE_INFO_502 Structure

and have ACCESS_ALL set in the SecurityDescriptor field

Private Const ACCESS_ALL As Long = ACCESS_READ Or _
ACCESS_WRITE Or _
ACCESS_CREATE Or _
ACCESS_EXEC Or _
ACCESS_DELETE Or _
ACCESS_ATRIB

what am i missing using the API way?

3. Running user processes in kernel mode; Java and .NET support in kernel

4. Running user processes in kernel mode; Java and .NET support in kernel

5. Running user processes in kernel mode; Java and .NET support in kernel

6. [Bug #13406] Kernel does not compile when set to use i915 kernel mode-setting per default

7. [News] Linux Kernel Space Analysis: Kernel Mode-Setting (AMD/ATI)

8. How can I disable the specific folder sharing in kernel mode or user mode ?

9. User mode or kernel mode

10. Vista mistaking user mode driver for kernel mode

11. Interaction between Kernel Mode driver and user mode application

12. User Mode Thread vs Kernel Mode Thread

13. User mode space accessing kernel mode space

14. communication between user mode and kernel mode