NBT length parameter larger than necessary in session request

Christopher R. Hertel crh at ubiqx.mn.org
Sat Feb 1 20:41:30 GMT 2003

"Michael B. Allen" wrote:
> Hi guys,
> Ever notice smbclient sends an NBT session request with an NBT length
> field that is 4 bytes longer than necessary? No harm, but is there a
> reason for this?

Yes.  It was a bug.  The header length was being added to the total length.
It didn't cause any trouble, but I fixed it (somewhere around 2.2.6, I

> I'm using 2.2.1a shipped with RH connecting to the same version of Samba
> over loopback.

Good catch.  Newer versions should not have this bug.

Chris -)-----

Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

More information about the samba-technical mailing list