smbclient -M sends NetBIOS session service header to port 445

Steve Langasek vorlon at netexpress.net
Mon Jan 6 15:18:00 GMT 2003


If Samba is configured to try port 445 first, the 'smbclient -M' command
can't send messages to Win2K machines:

$ smbclient -M server -p 445
added interface ip=192.168.8.5 bcast=192.168.8.255 nmask=255.255.255.0
Got a positive name query response from 192.168.8.10 ( 192.168.8.10 )
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
message start: Read error: Connection reset by peer

Ethereal shows that the packets sent by Samba include a 'Netbios Session
Service' header.  Is this the cause of the failure, or is the Windows
messaging service inextricably bound to NetBIOS?  In the former case,
where would I look in the code to remove the NetBIOS header from the
packet?

-- 
Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030106/dc330a2f/attachment.bin


More information about the samba-technical mailing list