summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-03-21 03:03:59 +0000
committerJohn Terpstra <jht@samba.org>1998-03-21 03:03:59 +0000
commitbee4067bd4771ee7883ab6365e91df86a1230618 (patch)
treeafd483700cad23f364734faa496313b04a70985c /source3
parent5767ec92789fd3a79ae21ffe23fb68da0486c6a5 (diff)
downloadsamba-bee4067bd4771ee7883ab6365e91df86a1230618.tar.gz
samba-bee4067bd4771ee7883ab6365e91df86a1230618.tar.bz2
samba-bee4067bd4771ee7883ab6365e91df86a1230618.zip
Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha release
(This used to be commit 4e424d0ba652bf9c5dfd3c44216b6145538cf821)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/local.h8
-rw-r--r--source3/include/smb.h3
-rw-r--r--source3/web/cgi.c2
3 files changed, 9 insertions, 4 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 9a62aa7eb3..144c2d2838 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -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
@@ -17,6 +20,11 @@
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
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f0cdf9f356..0acc5cbfa3 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -24,9 +24,6 @@
#ifndef _SMB_H
#define _SMB_H
-/* Yves Gaige <yvesg@hptnodur.grenoble.hp.com> requested this */
-#define MAXPRINTERLEN 15
-
#define BUFFER_SIZE (0xFFFF)
#define SAFETY_MARGIN 1024
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index 065c524cb8..a1aa4d753d 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -26,7 +26,7 @@
/* set the expiry on fixed pages */
#define EXPIRY_TIME (60*60*24*7)
-#define CGI_LOGGING 1
+#define CGI_LOGGING 0
#ifdef DEBUG_COMMENTS
extern void print_title(char *fmt, ...);