summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 5096e13fc3..2538715c41 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -67,6 +67,10 @@
#define MAX_OPEN_FILES 10000
#endif
+/* the max number of simultanous connections to the server by all clients */
+/* zero means no limit. */
+#define MAXSTATUS 0
+
#define WORDMAX 0xFFFF
/* the maximum password length before we declare a likely attack */
@@ -113,7 +117,7 @@
#endif
/* the size of the uid cache used to reduce valid user checks */
-#define VUID_CACHE_SIZE 32
+#define UID_CACHE_SIZE 4
/* the following control timings of various actions. Don't change
them unless you know what you are doing. These are all in seconds */
@@ -122,6 +126,7 @@
#define IDLE_CLOSED_TIMEOUT (60)
#define DPTR_IDLE_TIMEOUT (120)
#define SMBD_SELECT_TIMEOUT (60)
+#define SMBD_SELECT_TIMEOUT_WITH_PENDING_LOCKS (10)
#define NMBD_SELECT_LOOP (10)
#define BROWSE_INTERVAL (60)
#define REGISTRATION_INTERVAL (10*60)