[PATCHES] smbclient - add support for superseding the destination file on rename

Christian Ambach ambi at samba.org
Wed Mar 22 08:46:49 UTC 2017


Hi Uri,

> I haven't spotted renaming via TRANS2_SET_FILE_INFORMATION and
> pass-through infolevels - I'll test it with Windows and see how it
> works. This SMB1 protocol is certainly a mess...

smb_file_rename_information looks at the flag and passes it down to
rename_internals_fsp, so it should work. The plain rename request in
CIFS does not have such a flag, but this call should not be in use any
more with current clients.

Regards,
Christian





More information about the samba-technical mailing list