mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
got rid of a dangerous message command example
(This used to be commit bfca6e6a9d
)
This commit is contained in:
@ -3537,15 +3537,6 @@ If you want to silently delete it then try:
|
||||
|
||||
tt("message command = rm %s").
|
||||
|
||||
For the really adventurous, try something like this:
|
||||
|
||||
tt(message command = csh -c 'csh < %s |& /usr/local/samba/bin/smbclient -M %m; rm %s' &)
|
||||
|
||||
this would execute the command as a script on the server, then give
|
||||
them the result in a WinPopup message. Note that this could cause a
|
||||
loop if you send a message from the server using smbclient! You better
|
||||
wrap the above in a script that checks for this :-)
|
||||
|
||||
bf(Default:)
|
||||
tt( no message command)
|
||||
|
||||
|
Reference in New Issue
Block a user