git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026de0a
)
Added sys log entry for "max smbd processes" when is reached.
author
John Reilly
<jreilly@samba.org>
Thu, 20 Mar 2003 00:34:30 +0000
(
00:34
+0000)
committer
John Reilly
<jreilly@samba.org>
Thu, 20 Mar 2003 00:34:30 +0000
(
00:34
+0000)
JohnR (CR1873)
source/smbd/server.c
patch
|
blob
|
history
diff --git
a/source/smbd/server.c
b/source/smbd/server.c
index 9620b5ab37fb165bb7a1d20a09872e1df5452452..5ed4a5fddcfd5538ae0f9027ff96c8b9e37151e5 100644
(file)
--- a/
source/smbd/server.c
+++ b/
source/smbd/server.c
@@
-140,6
+140,10
@@
BOOL allowable_number_of_smbd_processes(void)
if (val > max_processes) {
DEBUG(0,("allowable_number_of_smbd_processes: number of processes (%d) is over allowed limit (%d)\n",
val, max_processes ));
+ /* BEGIN_ADMIN_LOG */
+ sys_adminlog( LOG_ERR, (char*)gettext( "Client connection disallowed due to limit. max smbd processes: %u"),
+ max_processes );
+ /* END_ADMIN_LOG */
return False;
}
}