I am interested in developing an application that acts as a Windows computer exposing shares that do not exist physically. This means that directories and files may not exist as such in any file system.
The process should be like the following:
\\MyFakeSambaServer
.Now, the actual question is: is there any way to integrate scripts onto Samba in order to achieve this?
I am aware of the amount of work that such a server could take if developed from scratch, so I am looking to make use of existing software that runs on Linux as much as possible.
This could be implemented atop Samba as a VFS module. Alternatively, a virtual file system could be exposed through Linux using FUSE and exported normally via Samba. Either way, you'll be confronted with the complexity of implementing a file system interface.