Support for SMB1 and SMB2 within the VFS

Richard Sharpe realrichardsharpe at
Tue Nov 22 10:48:32 MST 2011


I was recently looking at previous version support in SMB1 and SMB2
and wondered to what extent there is clean support in the Samba 3 VFS
for this.

What I mean by this is that in SMB1, previous versions are referred to
in paths with something like /path/to/some/dir/@GMT:some-time/...
while in SMB2 previous versions are handled with a TimeWarp extra info
on a Create Request.

Is this info cleanly passed into the VFS such that it is easy for VFS
routines to work with either SMB1 or SMB2 clients or do VFS routines
that deal with paths need to be burdened with the differences between
SMB1 and SMB2 encoding of this info?

Richard Sharpe

More information about the samba-technical mailing list