Displaying 2 results from an estimated 2 matches for "cli_renam".
Did you mean:
cli_rename
2019 Oct 22
2
smbclient: Renaming file on DFS root fails with NT_STATUS_OBJECT_PATH_NOT_FOUND
...he issue with smbd and Windows Server 2012 R2
(haven't checked with other versions).
IMHO it is caused by:
- Not setting SMB2_HDR_FLAG_DFS when calling smb2cli_req_send() from
smb2cli_set_info_send()
- cli_resolve_path() returning a full dfs path for the destination,
which is then passed to cli_rename() to be used in SMB2_FILE_RENAME_INFO
After some patching and testing, I came to this conclusion:
Setting SMB2_HDR_FLAG_DFS solves the issue for smbd, but not for Windows
Server and not for NetApp.
It seems that the file name in SMB2_FILE_RENAME_INFO must always be a
non-dfs path and the heade...
2019 Oct 22
0
smbclient: Renaming file on DFS root fails with NT_STATUS_OBJECT_PATH_NOT_FOUND
...erver 2012 R2 (haven't
> checked with other versions).
>
> IMHO it is caused by:
> - Not setting SMB2_HDR_FLAG_DFS when calling smb2cli_req_send() from
> smb2cli_set_info_send()
> - cli_resolve_path() returning a full dfs path for the destination, which is
> then passed to cli_rename() to be used in SMB2_FILE_RENAME_INFO
>
> After some patching and testing, I came to this conclusion:
>
> Setting SMB2_HDR_FLAG_DFS solves the issue for smbd, but not for Windows
> Server and not for NetApp.
> It seems that the file name in SMB2_FILE_RENAME_INFO must always be...