[Patch] make sure credits are granted properly for compound requests

Christian M Ambach christian.ambach at de.ibm.com
Mon Nov 14 10:54:06 MST 2011

Hi Jeremy, hi Metze,

I've made a patch that makes sure that smbd grants all credits requested 
in the
individual requests of a compound request instead of just for the last 
of the compound.
Otherwise a client can be left without credits.

Behavior however is still different to Windows as Windows grants all 
just in the last reply and not individually.

Shall I refine the patch to we match Windows behavior or put it into Samba 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-smb2-make-sure-we-grant-credits-for-all-operation.patch
Type: application/octet-stream
Size: 1706 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20111114/6f6c9b14/attachment.obj>

More information about the samba-technical mailing list