Netbios name %m not always correct
abartlet at samba.org
Sun Oct 5 07:11:12 GMT 2003
On Sun, 2003-10-05 at 16:54, Richard Sharpe wrote:
> 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.
Well, we do pick up the %m name from NTLMSSP, even on 445 - but kerberos
and some anonymous logins kills that. That's why it's not an 'always'
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20031005/e185390b/attachment.bin
More information about the samba-technical