summaryrefslogtreecommitdiff
path: root/source3/include/nameserv.h
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-06-16 20:49:15 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-06-16 20:49:15 +0000
commit2a33e58d18f400a05aeef00ba27f2b3c12ac315c (patch)
tree566fbed5efb1ddf7b15fd07ab41a524bccd0ae43 /source3/include/nameserv.h
parente14d99fd0d4bc3c27fe1f38f11e281a8f78cdeb1 (diff)
downloadsamba-2a33e58d18f400a05aeef00ba27f2b3c12ac315c.tar.gz
charset.c: Dropped debug message to level 6.
loadparm.c: Added "time server" parameter. nameserv.h: Added "time server" parameter. proto.h: Added lp_time_server(). server.c: Removed incorrect | 0700 - this was a whistle specific change. Jeremy (jallison@whistle.com). (This used to be commit 54dcca1240ec0a7f107f8a77e0893855015f9d29)
Diffstat (limited to 'source3/include/nameserv.h')
-rw-r--r--source3/include/nameserv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h
index 1aa1075543f..ae59f952524 100644
--- a/source3/include/nameserv.h
+++ b/source3/include/nameserv.h
@@ -410,7 +410,8 @@ struct packet_struct
#define REMOTE_ANNOUNCE_INTERVAL 180
#define DFLT_SERVER_TYPE (SV_TYPE_WORKSTATION | SV_TYPE_SERVER | \
- SV_TYPE_TIME_SOURCE | SV_TYPE_SERVER_UNIX | \
+ (lp_time_server() ? SV_TYPE_TIME_SOURCE : 0) | \
+ SV_TYPE_SERVER_UNIX | \
SV_TYPE_PRINTQ_SERVER | SV_TYPE_SERVER_NT | \
SV_TYPE_NT )