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

Jeremy Allison jra at samba.org
Fri Aug 12 18:00:57 UTC 2016

On Fri, Aug 12, 2016 at 10:49:47AM -0700, Herb Lewis via samba wrote:
> Couldn't you do something like the "net send" command?

I thought that got deprecated a long time ago.... Do clients
even run the messanger service anymore ?

> On 08/12/2016 10:44 AM, Jeremy Allison via samba wrote:
> >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.
> >
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list