smb_len

RANJANI NAGARAJAN raga_3 at yahoo.com
Tue Apr 23 06:47:03 GMT 2002


hi,

after the message_type(byte 0) and message flag (byte 1) fields in the smb header what is placed in bytes 2 and 3 of the header.as this is made use of in computing the length of the header.

in detail, in the smb.h(ver--2.0.7) header  there is a hash define for smb_len,which uses the 3,2and 1st byte to compute length.please can anyone tell me what computation is being carried out there.

i am writing a client code and i am not able to proceed because the computation of smb_len returns 0 and no other functions are executed.

please do help me out.

regards

ranjani



---------------------------------
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-technical mailing list