[Samba] 3.0.9 and macro %f

Thomas Bork tombork at web.de
Mon Dec 6 01:22:32 GMT 2004


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 at tommaik.de>
Envelope-to: root at 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 at tommaik.de; Mon, 06 Dec 2004 01:59:53 +0100
To: root at tommaik.de
Subject: message from ______________2___
Message-Id: <E1Cb7EH-0000Qp-IX at test2.tommaik.de>
From: nobody <nobody at 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


More information about the samba mailing list