Skip to content

Commit

Permalink
s3: smbclient: In do_host_query(), if we need SMB1, ensure we select …
Browse files Browse the repository at this point in the history
…NT1 as the client max protocol" before continuing.

Remove knownfail: selftest/knownfail.d/list_servers

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14939

Signed-off-by: Jeremy Allison <[email protected]>
Reviewed-by: Noel Power <[email protected]>

Autobuild-User(master): Noel Power <[email protected]>
Autobuild-Date(master): Thu Jan  6 11:50:32 UTC 2022 on sn-devel-184
  • Loading branch information
jrasamba authored and Noel Power committed Jan 6, 2022
1 parent 0d9d154 commit 099c62a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion selftest/knownfail.d/list_servers

This file was deleted.

1 change: 1 addition & 0 deletions source3/client/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -6224,6 +6224,7 @@ static int do_host_query(const char *query_host)

cli_shutdown(cli);
d_printf("Reconnecting with SMB1 for workgroup listing.\n");
lp_set_cmdline("client max protocol", "NT1");
status = cli_cm_open(talloc_tos(), NULL,
query_host,
"IPC$",
Expand Down

0 comments on commit 099c62a

Please sign in to comment.