diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-26 14:23:12 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-29 00:14:51 +0200 |
commit | 0b8eac9b79197c4659a5738f1b9399b3c88f2f8d (patch) | |
tree | 13d31da3082f63cb7b9d33134e3f2593418d0954 | |
parent | 7560b1cea6d2c0b2962f5802f724525fc0ec9bf9 (diff) | |
download | samba-0b8eac9b79197c4659a5738f1b9399b3c88f2f8d.tar.gz samba-0b8eac9b79197c4659a5738f1b9399b3c88f2f8d.tar.bz2 samba-0b8eac9b79197c4659a5738f1b9399b3c88f2f8d.zip |
s3:smb2_server: start the connection with one credit granted to the client
metze
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |