Server-side copy support for Mac OS clients

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Server-side copy support for Mac OS clients

Samba - General mailing list
Is this supposed to be supported in Samba 4.7.1? Server side copies work
fine using a Windows client. From mac OS 10.13.2, there's a full
transfer of a file being copied.

$ smbutil statshares -a

==================================================================================================
SHARE                         ATTRIBUTE TYPE                VALUE
==================================================================================================
test-share
                              SERVER_NAME                   server.lan
                              USER_ID                       501
                              SMB_NEGOTIATE                
                              SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                
                              SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                
                              SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.02
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              CLIENT_REQUIRES_SIGNING       TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              DFS_SUPPORTED                 TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              ENCRYPTION_SUPPORTED          TRUE
                              SIGNING_ON                    TRUE

--------------------------------------------------------------------------------------------------

--
  Andrew Berry

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Server-side copy support for Mac OS clients

Samba - General mailing list
Hi Andrew,

On Tue, 07 Nov 2017 21:04:47 -0500, Andrew Berry via samba wrote:

> Is this supposed to be supported in Samba 4.7.1? Server side copies work
> fine using a Windows client. From mac OS 10.13.2, there's a full
> transfer of a file being copied.

Yes, it's supported, and should work fine with (and IIUC also without)
the vfs_fruit module enabled. I'm not aware of the macOS client version
required, but Ralph (cc'ed) might be.

Cheers, David

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Server-side copy support for Mac OS clients

Samba - General mailing list
On Wed, Nov 08, 2017 at 01:25:01PM +0100, David Disseldorp wrote:

> Hi Andrew,
>
> On Tue, 07 Nov 2017 21:04:47 -0500, Andrew Berry via samba wrote:
>
> > Is this supposed to be supported in Samba 4.7.1? Server side copies work
> > fine using a Windows client. From mac OS 10.13.2, there's a full
> > transfer of a file being copied.
>
> Yes, it's supported, and should work fine with (and IIUC also without)
> the vfs_fruit module enabled. I'm not aware of the macOS client version
> required, but Ralph (cc'ed) might be.

there's a special macOS copyfile extension that requests a complete file+streams
copy in one request. It's supported by fruit but of by default:

       fruit:copyfile = yes | no
           A global option whether to enable OS X specific copychunk ioctl that requests a
           copy of a whole file along with all attached metadata.

           WARNING: the copyfile request is blocking the client while the server does the
           copy.

           The default is no.


-slow

--
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba