Using the browse.dat file I will attach to this bug report, with the workgroup changed to the current one in smb.conf, 3.5.0rc2 returns a bad browselist to smbclient. To reproduce, set up the browse.dat as explained, then do: smbclient -L 127.0.0.1 -U% -p139 The returned list has missing elements. There are two problems: 1). The server is off-by-one in the end of buffer space test. 2). The server returns 0 in the totaldata (smb_vwv1) and totalparams (smb_vwv0) fields in the second and subsequent SMBtrans replies. This occurred in the recent SMBtrans rewrite and also affects 3.4.x. and 3.3.x. Jeremy.
Created attachment 5304 [details] gzip'ed browse.dat used to reproduce the problem.
Hmmm - goes all the way back to 3.2.x it seems !
Created attachment 5305 [details] git am format patch for 3.5.0.
Created attachment 5306 [details] git-am format patch for 3.4.6.
Created attachment 5307 [details] git-am format patch for 3.3.11.
Created attachment 5308 [details] git-am format patch for 3.2.x.
Volker, Metze, if you agree with the review I'll re-assign to Karolin for inclusion. Jeremy.
Created attachment 5309 [details] git-am patch. Applies to 3.5.0 and 3.4.6. Missed this one - it's also needed. Fixes a valgrind error in libsmb/clirap.c when reading a fully returned browselist. Jeremy.
Created attachment 5310 [details] git-am patch applies to 3.3.11 and 3.2.x Second part of the patch. Also needed.
Comment on attachment 5305 [details] git am format patch for 3.5.0. Karolin please pick this one for 3.5.0
Comment on attachment 5309 [details] git-am patch. Applies to 3.5.0 and 3.4.6. Karolin please pick this one for 3.5.0
Comment on attachment 5306 [details] git-am format patch for 3.4.6. Looks good for 3.4.6
Comment on attachment 5309 [details] git-am patch. Applies to 3.5.0 and 3.4.6. also good for 3.4.6
Comment on attachment 5307 [details] git-am format patch for 3.3.11. Looks good for 3.3.11
Comment on attachment 5310 [details] git-am patch applies to 3.3.11 and 3.2.x Looks good for 3.3.11
(In reply to comment #10) > (From update of attachment 5305 [details]) > Karolin please pick this one for 3.5.0 > Pushed.
(In reply to comment #11) > (From update of attachment 5309 [details]) > Karolin please pick this one for 3.5.0 > Pushed.
*** This bug has been marked as a duplicate of bug 7119 ***