1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/examples
David Disseldorp ef00eb90e5 s3-vfs: add copy_chunk vfs hooks
copy_chunk copies n bytes from a source file at a specific offset to a
destination file at a given offset. This interface will be used in
handling smb2 FSCTL_SRV_COPYCHUNK ioctl requests.

Use a pread/pwrite loop in vfs_default, so that requests referring to
the same src and dest file are possible.

Provide send and receive hooks for copy chunk VFS interface, allowing
asynchronous behaviour.

Check whether the request source offset + length exceeds the current
size. Return STATUS_INVALID_VIEW_SIZE under such a condition, matching
Windows server behaviour.

Reviewed by: Jeremy Allison <jra@samba.org>
2013-01-16 23:15:06 +01:00
..
ad-bench AD-Bench: A first go at an Active Directory benchmark. 2009-10-07 15:45:46 +02:00
auth s3-modules: remove the last "init_module" traces. 2011-11-14 18:44:41 +01:00
autofs
dce-dfs
LDAP s3/ldap: remove outdated netscape ds 5 schema file 2012-04-19 15:54:56 +02:00
libsmbclient examples: fix build on AIX6 2012-11-20 16:06:59 +01:00
logon Fix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org> 2008-01-14 15:46:01 +01:00
misc adssearch: dump some more nttime timestamps. 2009-10-28 12:37:39 +01:00
nss
pam_winbind pam_winbind: re-add mkhomedir option. 2008-10-10 15:42:56 +02:00
pcap2nbench r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
pdb s3-modules: remove the last "init_module" traces. 2011-11-14 18:44:41 +01:00
perfcounter s3-perfcount: fix build for example perfcount daemon 2012-01-04 15:17:18 +01:00
printer-accounting
printing packaging: Move smbprint to a comman location. 2012-10-29 14:08:37 +01:00
scripts Remove the parameters: 2012-10-04 12:04:21 -07:00
tridge
validchars
VFS s3-vfs: add copy_chunk vfs hooks 2013-01-16 23:15:06 +01:00
README
smb.conf.default examples: Remove security=share and security=server from example smb.conf 2012-08-28 07:57:28 +10:00

Copyright(C) Samba-Team 1993-2001

This directory contains example config files and related material for
Samba. 

At a minimum please refer to the smb.conf.default file for current
information regarding global and share parameter settings.

Send additions to: samba@samba.org