Netbios name %m not always correct
rsharpe at richardsharpe.com
Sun Oct 5 06:54:19 GMT 2003
On Fri, 3 Oct 2003, M A Young wrote:
> We have just moved a server over to Samba 3.0.0, and it seems that %m,
> which should return the netbios name often returns the ip number of the
> host instead. This is a problem, (apart from making the logging more
> confusing), since we use smbclient to provide responses to certain
> actions, and if %m isn't returning the correct netbios name I don't think
> the message gets through.
> Has anyone else seen this problem or know how to fix it?
Yes, this will be the case when the client uses a NetBIOS-less SMB
sessions (on port 445) which most clients do these days :-(
You will need to use some other macro. Perhaps %U or something like that.
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
More information about the samba-technical