Is there a way in Samba to catch a "file does not exist" event when someone wants to read a file and it's not there, and handle it by creating and serving the file on the fly? Similar to what Apache achieves with mod_rewrite.
The scenario is this:
- Windows program requests a file at \server\share\image.jpg
- File does not exist, but I need to create it on the fly
- Windows gets an image delivered, completely transparently to the application.
Is this possible?