diff options
author | Stefan Metzmacher <metze@samba.org> | 2017-07-08 00:57:59 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-08-19 01:41:24 +0200 |
commit | 0f9d10246071160dc736205af234ab0ca456d0dc (patch) | |
tree | 2a4f7b47fc889132af73ce37f4c3deeed884657f /source3/libsmb/cliconnect.c | |
parent | 79cfa2e55bf05bcde7ca0dba0f6794d6a815c831 (diff) | |
download | samba-0f9d10246071160dc736205af234ab0ca456d0dc.tar.gz |
s3:libsmb: let get_ipc_connect() use CLI_FULL_CONNECTION_FORCE_SMB1
get_ipc_connect() is only used in code paths that require cli_NetServerEnum()
to work, so it must already require SMB1 only.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12876
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index d98debc7771..91fd18b646f 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -3746,6 +3746,8 @@ struct cli_state *get_ipc_connect(char *server, flags |= CLI_FULL_CONNECTION_USE_KERBEROS; } + flags |= CLI_FULL_CONNECTION_FORCE_SMB1; + nt_status = cli_full_connection(&cli, NULL, server, server_ss, 0, "IPC$", "IPC", get_cmdline_auth_info_username(user_info), lp_workgroup(), |