Skip to content

Commit

Permalink
smb2_server: update inline comment for max channels
Browse files Browse the repository at this point in the history
All Windows versions have the limit of 32 channels.

Signed-off-by: Guenther Deschner <[email protected]>
Signed-off-by: Stefan Metzmacher <[email protected]>
  • Loading branch information
gd committed May 15, 2020
1 parent e26b55a commit 2ac0f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source3/smbd/smbXsrv_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ NTSTATUS smbXsrv_session_add_channel(struct smbXsrv_session *session,

if (global->num_channels > 31) {
/*
* Windows 2012 and 2012R2 allow up to 32 channels
* Windows allow up to 32 channels
*/
return NT_STATUS_INSUFFICIENT_RESOURCES;
}
Expand Down

0 comments on commit 2ac0f83

Please sign in to comment.