1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

Add the "backup" toggle command to smbclient. In order for this to be

really useful we need to change to using NTCreateX opens by default in
cli_open() and fall back to old OpenX calls instead of doing it the
other way around.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Dec  2 00:23:13 CET 2011 on sn-devel-104
This commit is contained in:
Jeremy Allison
2011-12-01 13:47:12 -08:00
parent af76d2588c
commit 30d4484bf9
2 changed files with 25 additions and 0 deletions

View File

@ -558,6 +558,17 @@
</para></listitem>
</varlistentry>
<varlistentry>
<term>backup</term>
<listitem><para>Toggle the state of the "backup intent" flag
sent to the server on directory listings and file opens. If
the "backup intent" flag is true, the server will try and
bypass some file system checks if the user has been granted
SE_BACKUP or SE_RESTORE privilages. This state is useful when
performing a backup or restore operation.
</para></listitem>
</varlistentry>
<varlistentry>
<term>blocksize &lt;number&gt;</term>
<listitem><para>Sets the blocksize parameter for a tar operation. The default is 20.