summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm_ctx.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-27 14:24:30 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-27 07:36:05 +0100
commitc318c94170d58aeaa34f00e06fbf960816f7d0d9 (patch)
treea81232d7fa943db0c94f8d0b13f529c7eebd1801 /source3/param/loadparm_ctx.c
parentd21f7783f6062118edf2c7b8dab79ebc5459317a (diff)
downloadsamba-c318c94170d58aeaa34f00e06fbf960816f7d0d9.tar.gz
samba-c318c94170d58aeaa34f00e06fbf960816f7d0d9.tar.xz
samba-c318c94170d58aeaa34f00e06fbf960816f7d0d9.zip
s3-param: Align lp_{max,min}protocol with lib/param names
This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett
Diffstat (limited to 'source3/param/loadparm_ctx.c')
-rw-r--r--source3/param/loadparm_ctx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c
index e1bbda3928..57ffb87344 100644
--- a/source3/param/loadparm_ctx.c
+++ b/source3/param/loadparm_ctx.c
@@ -110,6 +110,9 @@ static const struct loadparm_s3_context s3_fns =
.unix_extensions = lp_unix_extensions,
.use_spnego = lp_use_spnego,
.use_mmap = lp_use_mmap,
+
+ .srv_minprotocol = lp_srv_minprotocol,
+ .srv_maxprotocol = lp_srv_maxprotocol,
};
const struct loadparm_s3_context *loadparm_s3_context(void)