mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3: libsmb: Fix SMB1 cli_list_trans_send() (SMBtrans2:TRANSACT2_FINDFIRST) to cope with DFS paths.
See smbtorture3: SMB1-DFS-SEARCH-PATHS: test_smb1_findfirst_path Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
parent
c98d165e51
commit
4a9458d03d
@ -662,6 +662,10 @@ static struct tevent_req *cli_list_trans_send(TALLOC_CTX *mem_ctx,
|
||||
if (tevent_req_nomem(state->mask, req)) {
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
state->mask = smb1_dfs_share_path(state, cli, state->mask);
|
||||
if (tevent_req_nomem(state->mask, req)) {
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
state->attribute = attribute;
|
||||
state->info_level = info_level;
|
||||
state->loop_count = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user