diff options
author | Andreas Schneider <asn@samba.org> | 2020-08-27 16:45:12 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-10-09 19:16:46 +0000 |
commit | 2159582610ecc932047b85a77ec321b3d3ac806f (patch) | |
tree | 4611dfb9d5a90ed7a90f389b240acc4d57e804e5 /source3/libsmb/clidfs.c | |
parent | 4aac9daf095e7c2de6a27697a13385ee87a4b634 (diff) | |
download | samba-2159582610ecc932047b85a77ec321b3d3ac806f.tar.gz |
s3:libcmb: Remove max_protocol from cli_cm_connect()
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r-- | source3/libsmb/clidfs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index fb1a0c72e6d..023dd4d2757 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -293,7 +293,6 @@ static NTSTATUS cli_cm_connect(TALLOC_CTX *ctx, const char *server, const char *share, struct cli_credentials *creds, - int max_protocol, const struct sockaddr_storage *dest_ss, int port, int name_type, @@ -304,7 +303,7 @@ static NTSTATUS cli_cm_connect(TALLOC_CTX *ctx, status = do_connect(ctx, server, share, creds, - max_protocol, + lp_client_max_protocol(), dest_ss, port, name_type, &cli); if (!NT_STATUS_IS_OK(status)) { @@ -416,7 +415,6 @@ NTSTATUS cli_cm_open(TALLOC_CTX *ctx, server, share, creds, - lp_client_max_protocol(), dest_ss, port, name_type, @@ -1020,7 +1018,6 @@ NTSTATUS cli_resolve_path(TALLOC_CTX *ctx, dfs_refs[count].server, dfs_refs[count].share, creds, - smbXcli_conn_protocol(rootcli->conn), NULL, /* dest_ss */ 0, /* port */ 0x20, |