diff options
Diffstat (limited to 'source3/smbd/smb2_service.c')
-rw-r--r-- | source3/smbd/smb2_service.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/smbd/smb2_service.c b/source3/smbd/smb2_service.c index 5affea6b3e4..71062e7bd84 100644 --- a/source3/smbd/smb2_service.c +++ b/source3/smbd/smb2_service.c @@ -646,21 +646,6 @@ NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn, * in the logs. */ widelinks_warning(snum); - /* - * Enforce the max connections parameter. - */ - - if ((lp_max_connections(snum) > 0) - && (count_current_connections(lp_const_servicename(SNUM(conn)), true) >= - lp_max_connections(snum))) { - - DBG_WARNING("Max connections (%d) exceeded for %s\n", - lp_max_connections(snum), - lp_const_servicename(snum)); - status = NT_STATUS_INSUFFICIENT_RESOURCES; - goto err_root_exit; - } - /* Invoke VFS make connection hook - this must be the first filesystem operation that we do. */ |