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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index f693d18623..e534f39306 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -173,4 +173,12 @@
/* Minimum length of allowed password when changing UNIX password. */
#define MINPASSWDLENGTH 5
+/* maximum ID number used for session control. This cannot be larger
+ than 62*62 for the current code */
+#define MAX_SESSION_ID 3000
+
+#ifndef SESSION_TEMPLATE
+#define SESSION_TEMPLATE "smb/%d"
+#endif
+
#endif