mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
got rid of a dangerous message command example
(This used to be commit bfca6e6a9d06742ea4ef36f1faac57eb0419b2d6)
This commit is contained in:
parent
b70700dba2
commit
1de47e3298
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user