[Samba] 3.0.9 and macro %f
Gerald (Jerry) Carter
jerry at samba.org
Thu Dec 9 15:41:48 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Bork wrote:
|> message command = /bin/mail -s 'message from %f' root < %s; rm %s
|>
|> And this is the mail (see Subjekt):
|>
|> To: root at tommaik.de
|> Subject: message from ______________2___
ok. reproduced it. The problem is that the string handling
in smbd/message.c assumes unicode strings rather than checking
the negotiated capability bits. The message command you list
works fine for messages from Windows 2000 client (which
support unicode). While smbclient is sending the strings as ASCII.
I'll try to fix this later today. Shouldn't take long.
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
iD8DBQFBuHI8IR7qMdg1EfYRAqbHAKDOkSp9mznCaXaf4HJfCdriMWzSSACg4hlc
bYHzzyOmQL7WFwgBpID9awg=
=8Li9
-----END PGP SIGNATURE-----
More information about the samba
mailing list