mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
s3: libsmb: Fix SMB1 cli_list_old_send() to cope with DFS paths.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
@ -394,6 +394,10 @@ static struct tevent_req *cli_list_old_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);
|
||||
}
|
||||
usable_space = cli_state_available_size(cli, 100);
|
||||
state->num_asked = usable_space / DIR_STRUCT_SIZE;
|
||||
|
||||
|
Reference in New Issue
Block a user