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/Makefile.in | |
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/Makefile.in')
-rw-r--r-- | source3/Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index fe052502b2..9271baa777 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -380,6 +380,8 @@ LIBCLI_NETLOGON_OBJ = autoconf/librpc/gen_ndr/ndr_netlogon_c.o \ LIBCLI_EPMAPPER_OBJ = autoconf/librpc/gen_ndr/ndr_epmapper_c.o +LIBCLI_FSRVP_OBJ = autoconf/librpc/gen_ndr/ndr_fsrvp_c.o + LIBNDR_GEN_OBJ = autoconf/librpc/gen_ndr/ndr_wkssvc.o \ $(LIBNDR_GEN_OBJ0) \ autoconf/librpc/gen_ndr/ndr_dfs.o \ @@ -393,7 +395,8 @@ LIBNDR_GEN_OBJ = autoconf/librpc/gen_ndr/ndr_wkssvc.o \ autoconf/librpc/gen_ndr/ndr_dssetup.o \ autoconf/librpc/gen_ndr/ndr_epmapper.o \ autoconf/librpc/gen_ndr/ndr_ntsvcs.o \ - $(LIBNDR_SPOOLSS_OBJ) + $(LIBNDR_SPOOLSS_OBJ) \ + autoconf/librpc/gen_ndr/ndr_fsrvp.o # this includes only the low level parse code, not stuff # that requires knowledge of security contexts @@ -1089,7 +1092,7 @@ RPCCLIENT_OBJ1 = rpcclient/rpcclient.o rpcclient/cmd_lsarpc.o \ rpcclient/cmd_shutdown.o rpcclient/cmd_test.o \ rpcclient/cmd_wkssvc.o rpcclient/cmd_ntsvcs.o \ rpcclient/cmd_drsuapi.o rpcclient/cmd_eventlog.o \ - rpcclient/cmd_winreg.o \ + rpcclient/cmd_winreg.o rpcclient/cmd_fss.o \ $(DISPLAY_SEC_OBJ) RPCCLIENT_OBJ = $(RPCCLIENT_OBJ1) \ @@ -1111,6 +1114,7 @@ RPCCLIENT_OBJ = $(RPCCLIENT_OBJ1) \ $(LIBCLI_SAMR_OBJ) \ $(LIBCLI_WINREG_OBJ) \ $(LIBCLI_NETLOGON_OBJ) \ + $(LIBCLI_FSRVP_OBJ) \ $(RPC_CLIENT_SCHANNEL_OBJ) \ rpc_client/init_netlogon.o \ rpc_client/init_samr.o |