[HELP?] Weird problem with SMB client code

Stefan Metzmacher metze at samba.org
Tue Jan 8 04:51:30 UTC 2019


Hi Tim,

> I've dug a bit deeper and worked out the problem now. The SMB message
> was getting dropped on the client-side due to lack of SMBv2 credits.
> 
> The attached patches fix the problem for me. Hopefully it explains the
> problem I was seeing in more detail. The change is just updating
> cli_smb2_list() to use a smaller response buffer, based on the
> connection's available credits.
> 
> If someone could review the change, that'd be greatly appreciated.
> 
> CI link: https://gitlab.com/catalyst-samba/samba/pipelines/42484993

Looks good to me! Thanks!

I think that should get a bug report and be backported.

Thanks!
metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190108/0515d744/signature.sig>


More information about the samba-technical mailing list