Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha release
[samba.git] / source / include / local.h
index b2a8f5ec578bb2353ae9c48945ca93a71439d0a2..144c2d2838b33598cf51bee12f410d1d312139cd 100644 (file)
@@ -1,3 +1,6 @@
+/* Copyright (C) 1995-1998 Samba-Team */
+/* Copyright (C) 1998 John H Terpstra <jht@aquasoft.com.au> */
+
 /* local definitions for file server */
 #ifndef _LOCAL_H
 #define _LOCAL_H
    refer to the special "printers" service */
 #define PRINTERS_NAME "printers"
 
+/* Yves Gaige <yvesg@hptnodur.grenoble.hp.com> requested this set this              */
+/* to a maximum of 8 if old smb clients break because of long printer names. */
+#define MAXPRINTERLEN 15
+
+
 /* define what facility to use for syslog */
 #ifndef SYSLOG_FACILITY
 #define SYSLOG_FACILITY LOG_DAEMON
    MAX_CONNECTIONS services, but any number of machines may connect at
    one time. */
 #define MAX_CONNECTIONS 127
-#define MAX_OPEN_FILES 10
+#define MAX_OPEN_FILES 100
 
 /* Default size of shared memory used for share mode locking */
 #ifndef SHMEM_SIZE
 #define SHMEM_SIZE (1024*MAX_OPEN_FILES)
 #endif
 
-/* the max number of connections that the smbstatus program will show */
-#define MAXSTATUS 1000
+/* the max number of simultanous connections to the server by all clients */
+#define MAXSTATUS 100000
 
 /* max number of directories open at once */
 /* note that with the new directory code this no longer requires a
 #define LONG_CONNECT_TIMEOUT 30
 #define SHORT_CONNECT_TIMEOUT 5
 
+/* the default netbios keepalive timeout */
+#define DEFAULT_KEEPALIVE 300
 
 /* the directory to sit in when idle */
 /* #define IDLE_DIR "/" */