smbd: bring back "smb3 unix extensions" option
authorRalph Boehme <slow@samba.org>
Wed, 8 Nov 2023 16:49:19 +0000 (17:49 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 27 Nov 2023 18:31:35 +0000 (18:31 +0000)
commit631e6aa0d02756d6ebbc9dff5c9d81fdbca58d7f
tree7eca09cdacd5d4d30b8c108df93b90787eb62b83
parentb124c2e1823d96e51d9d19cb2ccb0286b923ac8d
smbd: bring back "smb3 unix extensions" option

This basically reverts commit b3cae8dcf192f65031f143e5bb9135c895611d98
with a few important differences:

* SMB3 UNIX extensions are always built, but disabled by default at runtime.

* They are globally enabled in the fileserver test environment.

* It's now a per-share option, so admins can selectively disable them
  on a per-share basis. This allows clients to detect early that a share
  doesn't support user mount requested POSIX and fail appropiately, passing
  the failure to the requesting application (mount command).

Signed-off-by: Ralph Boehme <slow@samba.org>
WHATSNEW.txt
docs-xml/smbdotconf/protocol/smb3unixextensions.xml [new file with mode: 0644]
selftest/target/Samba3.pm
source3/param/loadparm.c
source3/smbd/smb2_create.c
source3/smbd/smb2_negprot.c