diff options
author | David Disseldorp <ddiss@samba.org> | 2012-03-26 17:34:52 +0200 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2012-06-08 13:34:31 +0200 |
commit | ac7b60a17bd4c4dbfaa2d9bb9e1d246800940928 (patch) | |
tree | 4efe314ee131bfbf69b55bbfbe6c248fd14c2b3b /source3/wscript_build | |
parent | 2836787daa8e78efc7dd166c4f462ca392b3c4c2 (diff) | |
download | samba-ac7b60a17bd4c4dbfaa2d9bb9e1d246800940928.tar.gz samba-ac7b60a17bd4c4dbfaa2d9bb9e1d246800940928.tar.bz2 samba-ac7b60a17bd4c4dbfaa2d9bb9e1d246800940928.zip |
s3-rpcclient: add fsrvp commands
fss_create_expose connects to an FSRVP server and negotiates the
creation and exposure of a share shadow-copy.
shadow-copies of multiple shares can be requested with a single
fss_create_expose request.
ddiss@plati:~> bin/rpcclient -k -U 'LURCH\administrator%password' \
ncacn_np:lutze[sign]
rpcclient $> fss_create_expose backup ro hyper
381884f2-b578-45ea-b8d2-cf82491f4011: shadow-copy set created
...
share hyper@{B6137E21-9CBB-4547-A21D-E7AD40D0874B} exposed as a snapshot
of \\lutze\hyper
fss_delete removes the shadow-copy share:
rpcclient $> fss_delete hyper 381884f2-b578-45ea-b8d2-cf82491f4011 \
b6137e21-9cbb-4547-a21d-e7ad40d0874
Shadow-copies can be created read-write or read-only.
Experimenting with Windows Server "8" beta, a recovery complete call is
required after creating a read-write (ATTR_AUTO_RECOVERY) shadow copy.
Otherwise subsequent creation requests fail with
FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS.
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-x | source3/wscript_build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index a4a685848d..bb59fde276 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -443,7 +443,7 @@ RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c rpcclient/cmd_shutdown.c rpcclient/cmd_test.c rpcclient/cmd_wkssvc.c rpcclient/cmd_ntsvcs.c rpcclient/cmd_drsuapi.c rpcclient/cmd_eventlog.c - rpcclient/cmd_winreg.c''' + rpcclient/cmd_winreg.c rpcclient/cmd_fss.c''' RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}''' @@ -1214,6 +1214,7 @@ bld.SAMBA3_BINARY('rpcclient/rpcclient', RPC_NDR_NTSVCS RPC_NDR_EVENTLOG INIT_SAMR + RPC_NDR_FSRVP ''', vars=locals()) |