summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 17:53:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 17:53:38 +0200
commit0218669d627e2e2f20d8294cff5bb7803b539a7a (patch)
tree5d533861e59995121c9641a5da633ed1bec01a45 /source4/param/loadparm.h
parenta665f5f5a177f1074a4b488b35fcd82f74766f75 (diff)
downloadsamba-0218669d627e2e2f20d8294cff5bb7803b539a7a.tar.gz
samba-0218669d627e2e2f20d8294cff5bb7803b539a7a.tar.bz2
samba-0218669d627e2e2f20d8294cff5bb7803b539a7a.zip
Remove include/local.h and move defines to more appropriate places.
Diffstat (limited to 'source4/param/loadparm.h')
-rw-r--r--source4/param/loadparm.h30
1 files changed, 27 insertions, 3 deletions
diff --git a/source4/param/loadparm.h b/source4/param/loadparm.h
index cd3c0b9595..47bce75cfb 100644
--- a/source4/param/loadparm.h
+++ b/source4/param/loadparm.h
@@ -59,9 +59,6 @@ struct parm_struct {
} def;
};
-
-
-
#define FLAG_DEFAULT 0x0001 /* this option was a default */
#define FLAG_CMDLINE 0x0002 /* this option was set from the command line */
@@ -73,3 +70,30 @@ struct parm_struct {
#define HOMES_NAME "homes"
#endif
+/* This defines the section name in the configuration file that will contain */
+/* global parameters - that is, parameters relating to the whole server, not */
+/* just services. This name is then reserved, and may not be used as a */
+/* a service name. It will default to "global" if not defined here. */
+#ifndef GLOBAL_NAME
+#define GLOBAL_NAME "global"
+#define GLOBAL_NAME2 "globals"
+#endif
+
+/* The default workgroup - usually overridden in smb.conf */
+#ifndef DEFAULT_WORKGROUP
+#define DEFAULT_WORKGROUP "WORKGROUP"
+#endif
+
+/*
+ * Default passwd chat script.
+ */
+#ifndef DEFAULT_PASSWD_CHAT
+#define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*"
+#endif
+
+/* Max number of jobs per print queue. */
+#ifndef PRINT_MAX_JOBID
+#define PRINT_MAX_JOBID 10000
+#endif
+
+