diff options
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/smbmount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c index 8a106974c2..1a1371edae 100644 --- a/source4/client/smbmount.c +++ b/source4/client/smbmount.c @@ -181,7 +181,7 @@ static struct smbcli_state *do_connection(char *the_service) DEBUG(4,("%d: session request ok\n", sys_getpid())); - if (!smbcli_negprot(c)) { + if (!smbcli_negprot(c, lp_cli_maxprotocol(global_loadparm))) { DEBUG(0,("%d: protocol negotiation failed\n", sys_getpid())); talloc_free(c); return NULL; |