[Samba] Is it possible to send a message to samba client from samba vfs module?

Jeremy Allison jra at samba.org
Fri Aug 12 17:44:44 UTC 2016

On Fri, Aug 12, 2016 at 06:48:36AM +0000, UGlee via samba wrote:
> For some reason, I want to write a VFS module to prevent user from deleting
> certain folder or files. I want to do it in a user-friendly way. For
> example, the client pops up a dialog, saying something on why he/she cannot
> fulfill the operation. If not all client works, I hope at least the Windows
> File Explorer will do.
> Is it possible?

Not really. There's no way for a server to asynchronously notify
a client with specific text when an operation fails.

More information about the samba mailing list