[Samba] Absolute path of file transferred using samba

Jeremy Allison jra at samba.org
Mon Dec 21 22:20:00 MST 2009


On Mon, Dec 21, 2009 at 09:14:40PM -0800, HariK wrote:
> 
> Hi,
> 
> When I transfer a file from Windows to my unix machine using Samba, is it
> possible in Samba to get the absolute path of the destination directory in
> the unix machine to which the file is being copied to?

No. Well....  if you did a shareinfo RPC request on \\SRVSVC, asking for
info level 2 on the sharename then you'd get the absolute path in Windows
path format. But you'd have to have rights to do so.

Jeremy.


More information about the samba mailing list