From 2a33e58d18f400a05aeef00ba27f2b3c12ac315c Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Mon, 16 Jun 1997 20:49:15 +0000 Subject: 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) --- source3/include/nameserv.h | 3 ++- source3/include/proto.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h index 1aa1075543..ae59f95252 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 ) diff --git a/source3/include/proto.h b/source3/include/proto.h index fd4e2dd23c..92feccf384 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -167,6 +167,7 @@ BOOL lp_syslog_only(void); BOOL lp_browse_list(void); BOOL lp_unix_realname(void); BOOL lp_nis_home_map(void); +BOOL lp_time_server(void); int lp_os_level(void); int lp_max_ttl(void); int lp_max_log_size(void); -- cgit