summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clidfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 1ed6ac5fc1..1d92843f48 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -150,7 +150,8 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
}
DEBUG(4,(" session request ok\n"));
- status = smbXcli_negprot(c->conn, c->timeout, PROTOCOL_CORE,
+ status = smbXcli_negprot(c->conn, c->timeout,
+ lp_cli_minprotocol(),
max_protocol);
if (!NT_STATUS_IS_OK(status)) {