summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_shell_snap.c
AgeCommit message (Collapse)AuthorFilesLines
2024-04-16lib: Give lib/util/util_file.c its own header fileVolker Lendecke1-0/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
2017-12-18vfs: Use static_decl_vfs in all VFS modulesChristof Schmitt1-1/+1
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Dec 18 13:32:00 CET 2017 on sn-devel-144
2017-04-22lib: modules: Change XXX_init interface from XXX_init(void) to ↵Jeremy Allison1-2/+2
XXX_init(TALLOC_CTX *) Not currently used - no logic changes inside. This will make it possible to pass down a long-lived talloc context from the loading function for modules to use instead of having them internally all use talloc_autofree_context() which is a hidden global. Updated all known module interface numbers, and added a WHATSNEW. Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
2016-10-13Update smbrun to allow for settings environment variables.Trever L. Adams1-3/+3
Signed-off-by: Trever L. Adams <trever.adams@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Oct 13 04:26:26 CEST 2016 on sn-devel-144
2015-03-31vfs: add vfs_shell_snap moduleDavid Disseldorp1-0/+201
The shell_snap VFS module plumbs into the snapshot (aka shadow-copy) management paths used by Samba's File Server Remote VSS Protocol (FSRVP) server. The following shell callouts may be configured in smb.conf: shell_snap: check path command - Called when an FSRVP client wishes to check whether a given share supports snapshot create/delete requests. - The command is called with a single <share path> argument. - The command must return 0 if <share path> is capable of being snapshotted. shell_snap: create command - Called when an FSRVP client wishes to create a snapshot. - The command is called with a single <share path> argument. - The command must return 0 status if the snapshot was successfully taken. - The command must output the path of the newly created snapshot to stdout. shell_snap: delete command - Called when an FSRVP client wishes to delete a snapshot. - The command is called with <base share path> and <snapshot share path> arguments. - The command must return 0 status if the snapshot was successfully removed. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>