Lost connection after first packet :(

Gerald (Jerry) Carter jerry at samba.org
Fri Oct 25 14:53:01 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 23 Oct 2002 graveworm at flashmail.com wrote:

> Hi...
> 
> I still have a hope that you can help me...
> 
> I have to write a program that send text messages over SMB (AKA winpopup
> messages), but have trouble. I do following things:
> 1) Resolving machine name through node status query on port 137
> 2) Connecting to port 139
> 3) Establishing NetBios session
> 
> After that SMB packets can be send, but server reset connection after I
> send first such packet :( This happens only on Windows, Samba on Unix
> responds normally and don't drop connection... Why is that?

This makes me believe that Windows doesn't like something about
the packet (i.e. malformed).  I would recheck the packet format.
Compare it with a traced packet from a winpop client on windows.



cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard           ------------------------- http://www.hp.com
 SAMBA Team                ---------------------- http://www.samba.org
 GnuPG Key                 ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2        "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9uVrNIR7qMdg1EfYRAsH0AKDM4Tnolvu4h9H5iodnYbBYuf20gACfZ7Ni
yiYeegUvKHaPoayHq/YK7vo=
=9WWE
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list