summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm_ctx.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-11-10 12:45:54 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-11-17 00:34:08 +0100
commit9524e2fce1b7f644fef5f7c8134f72681d786e65 (patch)
tree0ffe517b8f05845767921af0c255eea71da5f71e /source3/param/loadparm_ctx.c
parentf099feaa01b6548cb60cb9d7d50b1f196b1af878 (diff)
downloadsamba-9524e2fce1b7f644fef5f7c8134f72681d786e65.tar.gz
samba-9524e2fce1b7f644fef5f7c8134f72681d786e65.tar.xz
samba-9524e2fce1b7f644fef5f7c8134f72681d786e65.zip
param: calculate server role from security, and security from server role
This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
Diffstat (limited to 'source3/param/loadparm_ctx.c')
-rw-r--r--source3/param/loadparm_ctx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c
index 1e11eeb4b2..61fe97462d 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_master = lp_domain_master,
.winbind_separator = lp_winbind_separator,
.template_homedir = lp_template_homedir,