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

Attachment: msg05212/pgp00000.pgp
Description: PGP signature

Reply via email to