Can I log winpopup messages ?

Sir hamacker hamacker at bol.com.br
Wed Jan 16 04:05:02 GMT 2002


Hi ALL,
Reading man pages I discover 'message command' in smb.conf...
by the way, I put in my smb.conf :
message command = /usr/bin/samba2log "%f" "%t" "%s" &

where samba2log is a simple script :
#/bin/sh 
now=`date +%d-%m-%Y+%H:%M`
cat_msg=`cat $3`;
echo "$1|$now|$2|$cat_msg" >> /var/log/samba/popupmessages.txt;
rm -fR $4
 
But, this is not run when the server receive a message.
Whats wrong ?

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list