[PATCHES] smbclient - add support for superseding the destination file on rename
Christian Ambach
ambi at samba.org
Wed Mar 22 08:30:04 UTC 2017
Hi Uri,
> This smbclient patch set supports asking the server to replace an
> existing destination file when renaming. This is a feature of SMB2
> protocol only - haven't found a parallel in SMB1.
According to [MS-FSCC], there is a "2.4.34.1 FileRenameInformation for
SMB" that also contains a ReplaceIfExists flag. Or did you observe that
servers ignore the flag when given? The SMB1 path in smbd seems to
ignore it, see the hardcoded False value in reply.c:7391
Regards,
Christian
More information about the samba-technical
mailing list