summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-12-02 23:28:14 +0000
committerAndrew Tridgell <tridge@samba.org>1997-12-02 23:28:14 +0000
commit13c2f432d61381a055378d303dfc8806ea4eea42 (patch)
tree88158dbf439f9d0600cf754cead85268fd3ae84c
parent979eaf9e9c4dd58f1371597585d4cd64841febd0 (diff)
downloadsamba-13c2f432d61381a055378d303dfc8806ea4eea42.tar.gz
samba-13c2f432d61381a055378d303dfc8806ea4eea42.tar.xz
samba-13c2f432d61381a055378d303dfc8806ea4eea42.zip
the default GUEST_ACCOUNT should be here not in smb.h
-rw-r--r--source/include/local.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/local.h b/source/include/local.h
index ae791d84e62..2e7fa223540 100644
--- a/source/include/local.h
+++ b/source/include/local.h
@@ -75,6 +75,12 @@
manager window? */
#define FSTYPE_STRING "Samba"
+
+/* the default guest account - normally set in the Makefile or smb.conf */
+#ifndef GUEST_ACCOUNT
+#define GUEST_ACCOUNT "nobody"
+#endif
+
/* do you want smbd to send a 1 byte packet to nmbd to trigger it to start
when smbd starts? */
#ifndef PRIME_NMBD