[cifs-protocol] [REG:117050715700170] SMB1 processing of FileRnameInfo
Bryan Burgin
bburgin at microsoft.com
Tue May 16 17:55:31 UTC 2017
Hi, Uri,
I found where we service this call on our client-side redirector. We have a note that the server-side is not completely implemented and that we will revert to the style you cite if RootDirectory is non-NULL or if a '\\' exists in the TargetName (FileName) -- essentially making the 'Rename' into a 'Move'. In your trace, I see that you have a leading backslash. While a leading backslash (and none others) would mean the rename is relative to where the file is presently (not a move) the code just looks for the presence of any backslashes.
Can you test this on your end and see if it changes your observation? I will look at the code you provided, too.
Bryan
-----Original Message-----
From: Uri Simchoni [mailto:uri at samba.org]
Sent: Tuesday, May 9, 2017 9:01 PM
To: Bryan Burgin <bburgin at microsoft.com>
Cc: cifs-protocol at lists.samba.org; MSSolve Case Email <casemail at microsoft.com>
Subject: Re: [REG:117050715700170] SMB1 processing of FileRnameInfo
On 05/09/2017 09:38 PM, Bryan Burgin wrote:
> After carefully reading your text, I won't need your program.
> I'll see if there is a different way to make a client send the FileRenameInfo/Passthru command.
> B.
>
FWIW, program attached.
(notice that paths are hard-coded and files are assumed to be pre-existing).
Thanks,
Uri.
> -----Original Message-----
> From: Bryan Burgin
> Sent: Tuesday, May 9, 2017 8:54 AM
> To: Uri Simchoni <uri at samba.org>
> Cc: cifs-protocol at lists.samba.org; MSSolve Case Email <casemail at microsoft.com>
> Subject: RE: [REG:117050715700170] SMB1 processing of FileRnameInfo
>
> Hi Uri,
>
> I can research this for you. Let me look at the code. Can you send me the source of your test program; that will save me the time of doing the same.
>
> Bryan
More information about the cifs-protocol
mailing list