[PATCH] vfs_retention: add this module to make a share read only with a special time period.

Ralph Böhme slow at samba.org
Wed Oct 11 07:03:01 UTC 2017


On Wed, Oct 11, 2017 at 06:07:44AM +0000, Li, Dan via samba-technical wrote:
> > In order to truely prevent *all* share modification you need to also trap
> > and deny SMB_VFS_LINK, SMB_VFS_MKNOD, SMB_VFS_NTIMES, and SMB_VFS_SYMLINK
> > calls.
>
> What should I do to trap these macros?  I am sorry I cannot get your point...
> I think this module is an individual module which has nothing to modify with
> all above macros...

not the macros, implement the the corresponding functions from vfs_fn_pointers.

Cheerio!
-slow



More information about the samba-technical mailing list