From c318c94170d58aeaa34f00e06fbf960816f7d0d9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 27 Feb 2012 14:24:30 +1100 Subject: 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 --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/process.c') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 391ddc70ba..ba6314cda0 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -3013,7 +3013,7 @@ void smbd_process(struct tevent_context *ev_ctx, char *rhost; int ret; - if (lp_maxprotocol() >= PROTOCOL_SMB2_02) { + if (lp_srv_maxprotocol() >= PROTOCOL_SMB2_02) { /* * We're not making the decision here, * we're just allowing the client -- cgit