]> git.pld-linux.org Git - packages/samba.git/blame - samba-3.0-CAN-2006-3403.patch
- added try-restart
[packages/samba.git] / samba-3.0-CAN-2006-3403.patch
CommitLineData
61a9424a 1Index: source/smbd/service.c
2===================================================================
3--- source/smbd/service.c (revision 16676)
4+++ source/smbd/service.c (working copy)
5@@ -763,6 +763,11 @@
6 smb_panic("make_connection: PANIC ERROR. Called as nonroot\n");
7 }
8
9+ if (conn_num_open() > 2047) {
10+ *status = NT_STATUS_INSUFF_SERVER_RESOURCES;
11+ return NULL;
12+ }
13+
14 if(lp_security() != SEC_SHARE) {
15 vuser = get_valid_user_struct(vuid);
16 if (!vuser) {
This page took 0.031397 seconds and 4 git commands to generate.