mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:libcmb: Remove max_protocol from cli_cm_connect()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
4aac9daf09
commit
2159582610
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user