summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-11-10 13:37:54 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-11-17 00:34:08 +0100
commitf099feaa01b6548cb60cb9d7d50b1f196b1af878 (patch)
tree47e86ced021fa016fd3fc2ca4891841aa6454d7e /source3/param
parentdf9a1ea6cb18d4e701471ddd0144dbc970c4eb88 (diff)
downloadsamba-f099feaa01b6548cb60cb9d7d50b1f196b1af878.tar.gz
samba-f099feaa01b6548cb60cb9d7d50b1f196b1af878.tar.bz2
samba-f099feaa01b6548cb60cb9d7d50b1f196b1af878.zip
s3-param remove lp_domain_logons(), always use IS_DC
This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
-rw-r--r--source3/param/loadparm_ctx.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 11da2a9687..285023944a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5292,7 +5292,7 @@ FN_GLOBAL_BOOL(lp_dns_proxy, bDNSproxy)
FN_GLOBAL_BOOL(lp_we_are_a_wins_server, bWINSsupport)
FN_GLOBAL_BOOL(lp_wins_proxy, bWINSproxy)
FN_GLOBAL_BOOL(lp_local_master, bLocalMaster)
-FN_GLOBAL_BOOL(lp_domain_logons, bDomainLogons)
+static FN_GLOBAL_BOOL(lp_domain_logons, bDomainLogons)
FN_GLOBAL_LIST(lp_init_logon_delayed_hosts, szInitLogonDelayedHosts)
FN_GLOBAL_INTEGER(lp_init_logon_delay, InitLogonDelay)
FN_GLOBAL_BOOL(lp_load_printers, bLoadPrinters)
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c
index 5d4c06d31a..1e11eeb4b2 100644
--- a/source3/param/loadparm_ctx.c
+++ b/source3/param/loadparm_ctx.c
@@ -74,7 +74,6 @@ static const struct loadparm_s3_context s3_fns =
.dump = lp_dump,
.server_role = lp_server_role,
- .domain_logons = lp_domain_logons,
.domain_master = lp_domain_master,
.winbind_separator = lp_winbind_separator,