summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-31 10:41:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:34 -0500
commit706ef631f7d456de93078b8d0dca2c22e39d7ad1 (patch)
tree8a13357d6d8cf31466fbf5bbb505c702a2730ae5 /source4/param
parent93a3e9e2b615f041f13dff8f77891f52d274a19f (diff)
downloadsamba-706ef631f7d456de93078b8d0dca2c22e39d7ad1.tar.gz
samba-706ef631f7d456de93078b8d0dca2c22e39d7ad1.tar.bz2
samba-706ef631f7d456de93078b8d0dca2c22e39d7ad1.zip
r12644: prepare the dns proxy feature for the wins server
metze (This used to be commit 48842cd9abcff744851ad1481309fb901be3a73b)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index a87e5897e3..e6b4b95500 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -164,6 +164,7 @@ typedef struct
int web_port;
char *socket_options;
BOOL bWINSsupport;
+ BOOL bWINSdnsProxy;
BOOL bLocalMaster;
BOOL bPreferredMaster;
BOOL bEncryptPasswords;
@@ -519,6 +520,7 @@ static struct parm_struct parm_table[] = {
{"wins server", P_LIST, P_GLOBAL, &Globals.szWINSservers, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD | FLAG_DEVELOPER},
{"wins support", P_BOOL, P_GLOBAL, &Globals.bWINSsupport, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD | FLAG_DEVELOPER},
+ {"dns proxy", P_BOOL, P_GLOBAL, &Globals.bWINSdnsProxy, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD | FLAG_DEVELOPER},
{"Locking Options", P_SEP, P_SEPARATOR},
@@ -672,7 +674,8 @@ static void init_globals(void)
do_parameter("PreferredMaster", "Auto", NULL);
do_parameter("LocalMaster", "True", NULL);
- do_parameter("WINSsupport", "False", NULL);
+ do_parameter("wins support", "False", NULL);
+ do_parameter("dns proxy", "False", NULL);
do_parameter("winbind separator", "\\", NULL);
do_parameter("winbind sealed pipes", "True", NULL);
@@ -847,6 +850,7 @@ FN_GLOBAL_STRING(lp_panic_action, &Globals.szPanicAction)
FN_GLOBAL_BOOL(lp_disable_netbios, &Globals.bDisableNetbios)
FN_GLOBAL_BOOL(lp_wins_support, &Globals.bWINSsupport)
+FN_GLOBAL_BOOL(lp_wins_dns_proxy, &Globals.bWINSdnsProxy)
FN_GLOBAL_BOOL(lp_local_master, &Globals.bLocalMaster)
FN_GLOBAL_BOOL(lp_readraw, &Globals.bReadRaw)
FN_GLOBAL_BOOL(lp_large_readwrite, &Globals.bLargeReadwrite)