<div dir="ltr">Hello,<div>In <a href="https://msdn.microsoft.com/en-us/library/cc246502.aspx">https://msdn.microsoft.com/en-us/library/cc246502.aspx</a> it states that the file name passed in the CREATE Request message <b>can</b> be <span style="font-size:13px;color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;line-height:18px">prefixed with </span><a href="https://msdn.microsoft.com/en-us/library/cc246484.aspx#gt_0611e93d-f0e7-42ee-a591-d77ebcbb6619" style="font-size:13px;text-decoration:none;color:rgb(3,105,122);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;line-height:18px">Distributed File System (DFS) link</a><span style="font-size:13px;color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;line-height:18px"> information that will be removed during DFS name normalization  if the </span><span style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">SMB2_FLAGS_DFS_OPERATIONS</span><span style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">  is set.</span></div><div><span style="color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:18px"><br></span></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px">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"<br><br></span></font></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px">And how dose the server knows if the prefix exists? From my testing it assumes it is </span><b style="line-height:18px">always </b><span style="line-height:18px">exists.</span></font></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px"><br></span></font></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px">What am I missing?</span></font></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px"><br></span></font></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px">I also posted the question on stackoverflow <a href="http://stackoverflow.com/questions/33981089/smb-dfs-file-name-prefix">http://stackoverflow.com/questions/33981089/smb-dfs-file-name-prefix</a> </span></font></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px">But I think it is likelier I will get an answer here.</span></font></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px"><br></span></font></div><div><span style="line-height:18px;color:rgb(42,42,42);font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif">Thanks</span><br></div><div><font color="#2a2a2a" face="Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif"><span style="line-height:18px">Yoni.</span></font></div></div>