summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-23 11:38:25 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-24 10:46:12 +1000
commit80d3208830744f02bba5581938c9e27f473d15b9 (patch)
tree3c9cd3bf57b70a088298770f3342df17e06838de /lib/param
parent9521cd0409add2628352ee5ef888c5a8a90fbb27 (diff)
downloadsamba-80d3208830744f02bba5581938c9e27f473d15b9.tar.gz
samba-80d3208830744f02bba5581938c9e27f473d15b9.tar.bz2
samba-80d3208830744f02bba5581938c9e27f473d15b9.zip
param: Make internal handler for 'server role' common
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/loadparm.c1
-rw-r--r--lib/param/param_functions.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index ea20e2d7f3..323b795d76 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -83,7 +83,6 @@ static bool defaults_saved = false;
char *tls_dhpfile; \
char *loglevel; \
char *panic_action; \
- int server_role; \
int security; \
int domain_master; \
int domain_logons; \
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index d12faa60e2..9ebc38119f 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -211,6 +211,7 @@ FN_GLOBAL_BOOL(passwd_chat_debug, bPasswdChatDebug)
FN_GLOBAL_BOOL(registry_shares, bRegistryShares)
FN_GLOBAL_BOOL(reset_on_zero_vc, bResetOnZeroVC)
FN_GLOBAL_BOOL(rpc_big_endian, bRpcBigEndian)
+FN_GLOBAL_BOOL(_server_role, server_role)
FN_GLOBAL_BOOL(stat_cache, bStatCache)
FN_GLOBAL_BOOL(syslog_only, bSyslogOnly)
FN_GLOBAL_BOOL(timestamp_logs, bTimestampLogs)