lp:samba

Created by Jelmer Vernooij on 2009-11-24 and last modified on 2015-03-31
Get this branch:
bzr branch lp:samba

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Samba Team
Project:
samba
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.samba.org/samba.git.

The next import is scheduled to run in 44 minutes.

Last successful import was 5 hours ago.

Import started 5 hours ago on pear and finished 5 hours ago taking 7 minutes — see the log
Import started 11 hours ago on pear and finished 11 hours ago taking 8 minutes — see the log
Import started 17 hours ago on pear and finished 17 hours ago taking 8 minutes — see the log
Import started 23 hours ago on pear and finished 23 hours ago taking 8 minutes — see the log
Import started on 2015-03-31 on pear and finished on 2015-03-31 taking 9 minutes — see the log
Import started on 2015-03-30 on pear and finished on 2015-03-30 taking 7 minutes — see the log
Import started on 2015-03-30 on neumayer and finished on 2015-03-30 taking 17 minutes — see the log
Import started on 2015-03-30 on pear and finished on 2015-03-30 taking 7 minutes — see the log
Import started on 2015-03-30 on pear and finished on 2015-03-30 taking 6 minutes — see the log
Import started on 2015-03-29 on pear and finished on 2015-03-29 taking 6 minutes — see the log

Recent revisions

39802. By Andreas Schneider <email address hidden> 15 hours ago

s3-passdb: Fix 'force user' with winbind default domain

If we set 'winbind use default domain' and specify 'force user = user'
without a domain name we fail to log in. In this case we need to try a
lookup with the domain name.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11185

Signed-off-by: Andreas Schneider <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

Autobuild-User(master): Jeremy Allison <email address hidden>
Autobuild-Date(master): Tue Mar 31 21:17:23 CEST 2015 on sn-devel-104

39801. By David Disseldorp 17 hours ago

selftest: run the FSRVP test suite against s3fs

With FSRVP server support now present along with suitable mock-up test
infrastructure, run the FSRVP test suite against s3fs.

Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39800. By David Disseldorp 17 hours ago

selftest: add snapshot share configuration

Define a share that uses both vfs_shell_snap and fake_snap.pl to create,
delete and expose fake snapshots in response to FSRVP requests.
Additionally test snapshot enumeration and access via the shadow_copy2
module.

Allow for simple testing of FSRVP message sequence timeouts, by
specifying an artificially small interval.

Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39799. By David Disseldorp 17 hours ago

doc: add vfs_shell_snap manpage

Document usage of the shell_snap VFS module, explaining when and how
each of the shell script commands are called.

Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39798. By David Disseldorp 17 hours ago

vfs: add vfs_shell_snap module

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 <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39797. By David Disseldorp 17 hours ago

doc: explain vfs_btrfs remote snapshot configuration

This extends the vfs_btrfs man page to also cover FSRVP remote snapshot
behaviour and configuration.

Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39796. By David Disseldorp 17 hours ago

doc: explain vfs_snapper remote snapshot configuration

This extends the vfs_snapper man page to also cover FSRVP remote
snapshot behaviour and configuration.
The permissions section is also extended to describe specific Samba and
Snapper requirements for remote snapshot creation and deletion using
DiskShadow.exe.

Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39795. By David Disseldorp 17 hours ago

doc: "prune stale" and "sequence timeout" fssd parameters

This change adds smb.conf documentation for the "fss: prune stale" and
"fss: sequence timeout" parameters accepted by Samba's FSRVP server.

Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39794. By Noel Power <email address hidden> 17 hours ago

fsrvp: prune shadow copies if associated path doesn't exist

This patch implements some simple FSRVP server housekeeping. On startup
the server scans the cached entries, any entries where the underlying
system paths associated with shadow copies no longer exist are removed
from the cache and from the registry.

This behaviour is disabled by default, but can be enabled via the new
"fss: prune stale" smb.conf parameter.

Signed-off-by: Noel Power <email address hidden>
Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

39793. By David Disseldorp 17 hours ago

fsrvp: add remote snapshot RPC server

The Samba fss_agent RPC server is an implementation of the File Server
Remote VSS (Volume Shadow Copy Service) Protocol, or FSRVP for short.

FSRVP is new with Windows Server 2012, and allows authenticated clients
to remotely request the creation, exposure and deletion of share
snapshots.

The fss_agent RPC server processes requests on the FssAgentRpc named
pipe, and dispatches relevant snapshot creation and deletion requests
through to the VFS.
The registry smb.conf back-end is used to expose snapshot shares, with
configuration parameters and share ACLs cloned from the base share.

There are three FSRVP client implementations that I'm aware of:
- Samba rpcclient includes fss_X commands.
- Windows Server 2012 includes diskshadow.exe.
- System Center 2012.

FSRVP operations are only processed for users with:
- Built-in Administrators group membership, or
- Built-in Backup Operators group membership, or
- Backup Operator privileges, or
- Security token matches the initial process UID

MS-FSRVP specifies that server state should be stored persistently
during operation and retrieved on startup. Use the existing fss_srv.tdb
FSRVP state storage back-end to satisfy this requirement.

Signed-off-by: David Disseldorp <email address hidden>
Reviewed-by: Jeremy Allison <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.