Hi, samba 3.0.9 cannot expand %f anymore: Sending a netbios message to the samba server himself test2 # echo test | /usr/bin/smbclient -U 'eisfair Samba Server on TEST2' -M TEST2 -I 192.168.0.6 Connected. Type your message, ending it with a Control-D sent 6 bytes From smb.conf: message command = /bin/mail -s 'message from %f' root < %s; rm %s And this is the mail (see Subjekt): From - Mon Dec 06 02:00:16 2004 X-UIDL: 410d42e600000113 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-path: <nobody@tommaik.de> Envelope-to: root@tommaik.de Delivery-date: Mon, 06 Dec 2004 01:59:53 +0100 Received: from nobody by test2.tommaik.de with local (Exim 4.40) id 1Cb7EH-0000Qp-IX for root@tommaik.de; Mon, 06 Dec 2004 01:59:53 +0100 To: root@tommaik.de Subject: message from ______________2___ Message-Id: <E1Cb7EH-0000Qp-IX@test2.tommaik.de> From: nobody <nobody@tommaik.de> Date: Mon, 06 Dec 2004 01:59:53 +0100 Status: test 2.2.12 and 3.0.8pre2(?) can expand %f - 3.0.9 not. Why? der tom
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Bork wrote: | Hi, | | samba 3.0.9 cannot expand %f anymore: | | Sending a netbios message to the samba server himself | | test2 # echo test | /usr/bin/smbclient -U 'eisfair Samba Server on | TEST2' -M TEST2 -I 192.168.0.6 | Connected. Type your message, ending it with a Control-D | sent 6 bytes | | From smb.conf: | | message command = /bin/mail -s 'message from %f' root < %s; rm %s | | And this is the mail (see Subjekt): | ... | To: root@tommaik.de | Subject: message from ______________2___ The code hasn't changed. have you looked at a level 10 debug log for clues? cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBtIDJIR7qMdg1EfYRApe2AJ9ZTc7dbmSgl+uDprnjRkLUP9PAdQCfQ6qd 2AuL2qpycOjFuECX6gmOlAA=3aYX -----END PGP SIGNATURE-----