The Samba-Bugzilla – Bug 2626
%m replaced by IP or empty
Last modified: 2005-08-24 10:24:47 UTC
I have a message command in the form /usr/bin/foo %m ...
Since 3.0.12 to 3.0.14a %m is not replaced by the netbios name but by the IP of
the sender or is empty (3.0.14a).
Prior versions worked correctly in the same environment (SUSE 9.2).
name resolve order doesn't matter.
The problem seems to be on the sender side as in the direction
3.0.11 -> e.g. 3.0.12 it works correctly.
Looks like you are correct. It is a client side issue.
I've reproduced this here.
Created attachment 1164 [details]
ensure that calling_name is set to some value after parsing smb.conf
Thanks for reporting this. The fix is attached.
(In reply to comment #3)
> Thanks for reporting this. The fix is attached.
Thanks, works with 3.0.15pre2.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.