summaryrefslogtreecommitdiff
path: root/docs/Registry/Win95_PlainPassword.reg
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2002-07-01 03:42:04 +0000
committerChristopher R. Hertel <crh@samba.org>2002-07-01 03:42:04 +0000
commit4b12f559b9fa61309e1a64c8b286136aba9ba3eb (patch)
treeeb07608717acc59cfd4cd47dd15d290606d086c0 /docs/Registry/Win95_PlainPassword.reg
parent3c6a7c73fb3be8264f34d97a04e35eb62bdfa5a4 (diff)
downloadsamba-4b12f559b9fa61309e1a64c8b286136aba9ba3eb.tar.gz
samba-4b12f559b9fa61309e1a64c8b286136aba9ba3eb.tar.bz2
samba-4b12f559b9fa61309e1a64c8b286136aba9ba3eb.zip
The 17-bit length field in the header contains the number of
bytes which follow the header, not the full packet size. [Yes, the length field is either 17-bits, or (per the RFCs) it is a 16-bit length field preceeded by an 8-bit flags field of which only the low-order bit may be used. If that bit is set, then add 65536 to the 16-bit length field. (In other words, it's a 17-bit unsigned length field.) ...unless, of course, the transport is native TCP [port 445] in which case the length field *might* be 24-bits wide.] Anyway, the change is a very minor one. We were including the four bytes of the header in the length count and, as a result, sending four bytes of garbage at the end of the SESSION REQUEST packet. Small fix in function cli_session_request(). (This used to be commit cd2b1357066a712efcf87ac61922ef871118e8de)
Diffstat (limited to 'docs/Registry/Win95_PlainPassword.reg')
0 files changed, 0 insertions, 0 deletions