From 0b8eac9b79197c4659a5738f1b9399b3c88f2f8d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 26 Jun 2012 14:23:12 +0200 Subject: s3:smb2_server: start the connection with one credit granted to the client metze --- source3/smbd/smb2_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index de43bcfa38..0afe775354 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -109,7 +109,7 @@ static NTSTATUS smbd_initialize_smb2(struct smbd_server_connection *sconn) } sconn->smb2.seqnum_low = 0; - sconn->smb2.credits_granted = 0; + sconn->smb2.credits_granted = 1; sconn->smb2.max_credits = lp_smb2_max_credits(); sconn->smb2.credits_bitmap = bitmap_talloc(sconn, DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR*sconn->smb2.max_credits); -- cgit