[cifs-protocol] SMB CREATE Request

Yoni Kibrik yoni122 at gmail.com
Sun Nov 29 15:10:58 UTC 2015


Hello,
In https://msdn.microsoft.com/en-us/library/cc246502.aspx it states that
the file name passed in the CREATE Request message *can* be prefixed
with Distributed
File System (DFS) link
<https://msdn.microsoft.com/en-us/library/cc246484.aspx#gt_0611e93d-f0e7-42ee-a591-d77ebcbb6619>
information
that will be removed during DFS name normalization  if the
SMB2_FLAGS_DFS_OPERATIONS  is set.

What is the use of that prefix? From my testing (using python impacket) the
prefix can be any random string in the format "nameA\nameB\filepath"

And how dose the server knows if the prefix exists? From my testing it
assumes it is *always *exists.

What am I missing?

I also posted the question on stackoverflow
http://stackoverflow.com/questions/33981089/smb-dfs-file-name-prefix
But I think it is likelier I will get an answer here.

Thanks
Yoni.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20151129/9921ce27/attachment.html>


More information about the cifs-protocol mailing list