[Samba] [4.8] unix extensions negotiation and os x

Aurélien Aptel aaptel at suse.com
Tue Apr 3 10:09:52 UTC 2018


Dan Janowski via samba <samba at lists.samba.org> writes:

> [ Unknown signature status ]
> Does os x (10.13) support negotiation of unix extensions/CIFS?
>
> When hard links didn’t work I dug in and while I found info on CAP_UNIX, and added ‘unix extensions = yes’ globally, the Negotiation makes no mentions:

> I’m far from sure I’m looking at this the right way. Any hints greatly appreciated.

Unix extensions havent been designed for SMB2 yet. I'm not sure which
version of the protocol OSX tries to connect with (1 or 2+ ; I suspect
it's 2) but if you want these extensions you have to use SMB1, which is
also deprecated at this point.

So you could try 2 things:

* Assuming OSX can take advantage of the SMB1 unix extensions, you can
  re-enable SMB1 in samba with "server min protocol = LANMAN1" in your
  smb.conf.

* If it cannot I know Apple has developed its own extensions for SMB2
  (SMB2 AAPL) which samba supports throught vfs_fruit [1] but I don't know
  if hardlinks are part of these extensions.

1: https://www.samba.org/samba/docs/current/man-html/vfs_fruit.8.html

Cheers,
-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)



More information about the samba mailing list