From bfca6e6a9d06742ea4ef36f1faac57eb0419b2d6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 27 Nov 1998 05:15:55 +0000 Subject: [PATCH] got rid of a dangerous message command example --- docs/yodldocs/smb.conf.5.yo | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/yodldocs/smb.conf.5.yo b/docs/yodldocs/smb.conf.5.yo index 55010de2a67..f33edca2c6a 100644 --- a/docs/yodldocs/smb.conf.5.yo +++ b/docs/yodldocs/smb.conf.5.yo @@ -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) -- 2.25.1