[PATCH] pathname cleanups
Volker.Lendecke at SerNet.DE
Fri May 19 06:37:03 UTC 2017
On Fri, May 19, 2017 at 09:11:49AM +0300, Uri Simchoni via samba-technical wrote:
> With SMB1 clients, the @GMT comes as first path element, so the SMB1
I've seen clients where the @GMT comes next to the last path
component. That was part of the complexity of the previous
> server converts that into a timewarp element and strips it off the path
> - that too supports regular clients which want to access
> path/.snapshots/@GMT. Admittedly, this involves a bit of heuristics.
> There's FLAGS2_REPARSE_PATH bit in FLAGS2 - Windows clients set it and
> also Samba client since 4.6.x. The server can decide whether to be
> strict about it or use the heuristic (currently smbd ignores this flag).
To support the dumb clients the heuristic would have to be to try
inserting @GMT at all places where / now is if we lose the place the
client sent the @GMT initially. We can't rely on the flag being set I
believe. We're talking FreeBSD, (I believe AIX) and other custom SMB
clients that used to work.
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical