summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-11-20 14:38:09 +0100
committerStefan Metzmacher <metze@samba.org>2014-11-27 16:45:05 +0100
commitd7669ea451fa445b6ec77fa08d951fa59b08ab5f (patch)
treeb3c1917eb795a663bc720c860e3370cfb6c0509a
parentd0a1995b934895ae9f0bbeed52772a4ef5d4b0dd (diff)
downloadsamba-d7669ea451fa445b6ec77fa08d951fa59b08ab5f.tar.gz
s4:param: don't expand PROTOCOL_DEFAULT in lpcfg_smbcli_options()
We let the low-level smb1 or smb2 code assign what PROTOCOL_DEFAULT means. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source4/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 529c828e09b..af3313f6dd8 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -40,7 +40,7 @@ void lpcfg_smbcli_options(struct loadparm_context *lp_ctx,
options->signing = lpcfg_client_signing(lp_ctx);
options->request_timeout = SMB_REQUEST_TIMEOUT;
options->ntstatus_support = lpcfg_nt_status_support(lp_ctx);
- options->max_protocol = lpcfg_client_max_protocol(lp_ctx);
+ options->max_protocol = lpcfg__client_max_protocol(lp_ctx);
options->unicode = lpcfg_unicode(lp_ctx);
options->use_oplocks = true;
options->use_level2_oplocks = true;