]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
4 years agovfs_fruit: check fake_fd in fruit_pread_meta_stream()
Ralph Boehme [Fri, 11 Dec 2020 12:00:56 +0000 (13:00 +0100)] 
vfs_fruit: check fake_fd in fruit_pread_meta_stream()

Don't call into the next VFS backend if we know we still have a fake-fd. Just
return -1 and the caller has the logic to handle this, which results in
returning a AFP_AfpInfo blob initialized with some defaults.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14596

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_fruit: use "fake_fd" instead of "created"
Ralph Boehme [Fri, 11 Dec 2020 12:00:09 +0000 (13:00 +0100)] 
vfs_fruit: use "fake_fd" instead of "created"

Both have basically the same semantics.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14596

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_streams_xattr: make use of vfs_fake_fd_close()
Stefan Metzmacher [Fri, 18 Dec 2020 13:36:00 +0000 (14:36 +0100)] 
vfs_streams_xattr: make use of vfs_fake_fd_close()

When we used vfs_fake_fd() we should use vfs_fake_fd_close()
in order to have things symetric.

That may allows us to change vfs_fake_fd() internally if required.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14596

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_fruit: make use of vfs_fake_fd_close()
Stefan Metzmacher [Fri, 18 Dec 2020 13:36:00 +0000 (14:36 +0100)] 
vfs_fruit: make use of vfs_fake_fd_close()

When we used vfs_fake_fd() we should use vfs_fake_fd_close()
in order to have things symetric.

That may allows us to change vfs_fake_fd() internally if required.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14596

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agos3:smbd: add vfs_fake_fd_close() helper
Stefan Metzmacher [Fri, 18 Dec 2020 13:03:09 +0000 (14:03 +0100)] 
s3:smbd: add vfs_fake_fd_close() helper

When we used vfs_fake_fd() we should use vfs_fake_fd_close()
in order to have things symetric.

This makes code easier to understand and may allow us to change
vfs_fake_fd() internally if required.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14596

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agos4:torture/fruit: avoid sleep(10000000); if write_stream() fails
Stefan Metzmacher [Tue, 8 Dec 2020 14:47:53 +0000 (15:47 +0100)] 
s4:torture/fruit: avoid sleep(10000000); if write_stream() fails

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agos3: Remove "developer.c" module
Volker Lendecke [Mon, 4 Jan 2021 11:22:13 +0000 (12:22 +0100)] 
s3: Remove "developer.c" module

This can't have been built since commit f9acf770e9c12 from 2011 when
smb_register_charset was removed.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agopassdb: Fix a typo
Volker Lendecke [Sun, 27 Dec 2020 10:38:45 +0000 (11:38 +0100)] 
passdb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: Initialize pointers in server_prefork.c
Volker Lendecke [Sun, 27 Dec 2020 07:50:34 +0000 (08:50 +0100)] 
lib: Initialize pointers in server_prefork.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: Fix error path memleaks in prefork_create_pool()
Volker Lendecke [Sat, 26 Dec 2020 17:22:23 +0000 (18:22 +0100)] 
lib: Fix error path memleaks in prefork_create_pool()

A few return statements missed the "TALLOC_FREE(pfp);"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agorpc_server: Make default prefork configs const
Volker Lendecke [Sat, 26 Dec 2020 09:04:42 +0000 (10:04 +0100)] 
rpc_server: Make default prefork configs const

Move 24 bytes from modifyable data to .text segment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: Make pfh_daemon_config take a const default config
Volker Lendecke [Sat, 26 Dec 2020 08:59:04 +0000 (09:59 +0100)] 
lib: Make pfh_daemon_config take a const default config

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolibrpc: Fix an error path memleak
Volker Lendecke [Sat, 26 Dec 2020 08:27:10 +0000 (09:27 +0100)] 
librpc: Fix an error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: give global_contexts.c its own header file
Volker Lendecke [Sun, 3 Jan 2021 20:53:49 +0000 (21:53 +0100)] 
lib: give global_contexts.c its own header file

It's a bit shocking how many references we have to global
contexts. Make this a bit more obvious.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolibsmb: Use hex_byte() in urldecode_talloc()
Volker Lendecke [Mon, 4 Jan 2021 13:16:32 +0000 (14:16 +0100)] 
libsmb: Use hex_byte() in urldecode_talloc()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoctdb: Use hex_byte() in hex_to_data()
Volker Lendecke [Mon, 4 Jan 2021 13:10:57 +0000 (14:10 +0100)] 
ctdb: Use hex_byte() in hex_to_data()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: Use hex_byte() in ucs2hex_pull()
Volker Lendecke [Mon, 4 Jan 2021 13:03:28 +0000 (14:03 +0100)] 
lib: Use hex_byte() in ucs2hex_pull()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: Use hex_byte() in rfc1738_unescape()
Volker Lendecke [Mon, 4 Jan 2021 12:57:53 +0000 (13:57 +0100)] 
lib: Use hex_byte() in rfc1738_unescape()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoldb: Use hex_byte() in ldb_binary_decode()
Volker Lendecke [Mon, 4 Jan 2021 12:55:01 +0000 (13:55 +0100)] 
ldb: Use hex_byte() in ldb_binary_decode()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agotdb: Use hex_byte() in parse_hex()
Volker Lendecke [Mon, 4 Jan 2021 12:52:48 +0000 (13:52 +0100)] 
tdb: Use hex_byte() in parse_hex()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agotdb: Use hex_byte() in read_data()
Volker Lendecke [Mon, 4 Jan 2021 12:50:23 +0000 (13:50 +0100)] 
tdb: Use hex_byte() in read_data()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: Add "hex_byte()" to replace.h
Volker Lendecke [Mon, 4 Jan 2021 12:12:30 +0000 (13:12 +0100)] 
lib: Add "hex_byte()" to replace.h

This is required in quite a few places, and replace.h has things like
ZERO_STRUCT already, so this is not completely outplaced.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agodsdb: Fix a typo
Volker Lendecke [Tue, 5 Jan 2021 14:41:45 +0000 (15:41 +0100)] 
dsdb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agodsdb: Fix comment wording
Volker Lendecke [Tue, 5 Jan 2021 13:42:40 +0000 (14:42 +0100)] 
dsdb: Fix comment wording

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoauth: Fix a typo
Volker Lendecke [Tue, 5 Jan 2021 13:36:45 +0000 (14:36 +0100)] 
auth: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoauth: Reformat a comment
Volker Lendecke [Tue, 5 Jan 2021 13:36:23 +0000 (14:36 +0100)] 
auth: Reformat a comment

Will fix a typo next

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_virusfilter: Allocate separate memory for config char*
Arne Kreddig [Fri, 1 Jan 2021 21:54:22 +0000 (22:54 +0100)] 
vfs_virusfilter: Allocate separate memory for config char*

Instead of using only the pointer to the configuration char* from the
global configuration, vfs_virusfilter now allocates its own memory and
copies the char* from the global configuration.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14606
Signed-off-by: Arne Kreddig <arne@kreddig.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan  7 19:25:38 UTC 2021 on sn-devel-184

4 years agos3:lib: Create the cache path of user gencache recursively
Andreas Schneider [Mon, 21 Dec 2020 09:36:46 +0000 (10:36 +0100)] 
s3:lib: Create the cache path of user gencache recursively

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14601

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan  6 23:59:58 UTC 2021 on sn-devel-184

4 years agolib:util: Add directory_create_or_exists_recursive()
Andreas Schneider [Mon, 21 Dec 2020 09:35:51 +0000 (10:35 +0100)] 
lib:util: Add directory_create_or_exists_recursive()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14601

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agos3:utils - explicitly free cmdline_messaging_context
Andrew Walker [Thu, 24 Dec 2020 11:38:18 +0000 (06:38 -0500)] 
s3:utils - explicitly free cmdline_messaging_context

Some command line utilities do not free their messaging context
which results in extra entries being left in the msg.lock directory.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan  5 21:30:08 UTC 2021 on sn-devel-184

4 years agoFix small typo in manpage
Yvan Masson [Mon, 14 Dec 2020 14:14:31 +0000 (15:14 +0100)] 
Fix small typo in manpage

Signed-off-by: Yvan Masson <yvan@masson-informatique.fr>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan  4 16:23:03 UTC 2021 on sn-devel-184

4 years agoWHATSNEW: printing changes
Björn Jacke [Mon, 4 Jan 2021 11:20:36 +0000 (12:20 +0100)] 
WHATSNEW: printing changes

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Karolin Seeger <kseeger@samba.org>
Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Mon Jan  4 12:51:49 UTC 2021 on sn-devel-184

4 years agoscript/release.sh: Use new GPG key.
Karolin Seeger [Tue, 22 Dec 2020 08:35:58 +0000 (09:35 +0100)] 
script/release.sh: Use new GPG key.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
4 years agolib: Avoid declaring zero-length VLAs in various messaging functions
Dimitry Andric [Fri, 1 Jan 2021 17:25:48 +0000 (18:25 +0100)] 
lib: Avoid declaring zero-length VLAs in various messaging functions

In messaging_rec_create(), messaging_recv_cb() and
messaging_dispatch_rec(), variable length arrays of file descriptors are
declared using an incoming num_fds parameter.

However, there are several scenarios where num_fds can be zero, and
declaring a zero-length VLA is undefined behavior. This can lead to
segmentation faults and/or other crashes when compiling with recent
versions of clang at high optimization levels.

To avoid ever using zero as the length for these declarations, use
MAX(1, length) instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14605

Signed-off-by: Dimitry Andric <dimitry@andric.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Jan  4 10:50:07 UTC 2021 on sn-devel-184

4 years agoHappy New Year 2021!
Stefan Metzmacher [Fri, 1 Jan 2021 10:44:37 +0000 (10:44 +0000)] 
Happy New Year 2021!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jan  1 11:56:23 UTC 2021 on sn-devel-184

4 years agovfs_gpfs:Logging filename for smbd_gpfs_set_times_path()
Archana [Mon, 14 Dec 2020 19:14:47 +0000 (00:44 +0530)] 
vfs_gpfs:Logging filename for smbd_gpfs_set_times_path()

Signed-off-by: ArchanaChidirala <archana.chidirala.chidirala@ibm.com>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Dec 30 10:21:08 UTC 2020 on sn-devel-184

4 years agonet: remove obsolete net ads dns gethostbyname command
Björn Jacke [Tue, 22 Dec 2020 20:04:34 +0000 (21:04 +0100)] 
net: remove obsolete net ads dns gethostbyname command

net ads dns gethostbyname is doing the same as nslookup / host / dig and it's
quite limited and only supports A records. We should just drop it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13706

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Wed Dec 23 13:52:41 UTC 2020 on sn-devel-184

4 years agodnsupdates: clean up all RRSets and not only type A
Björn Jacke [Tue, 22 Dec 2020 16:23:16 +0000 (17:23 +0100)] 
dnsupdates: clean up all RRSets and not only type A

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13706
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14244

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
4 years agotests: also test net ads dns (un)register with IPv6
Björn Jacke [Tue, 22 Dec 2020 17:10:44 +0000 (18:10 +0100)] 
tests: also test net ads dns (un)register with IPv6

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13706

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
4 years agotests: also test v6 for async dns test by using dig
Björn Jacke [Tue, 22 Dec 2020 16:28:41 +0000 (17:28 +0100)] 
tests: also test v6 for async dns test by using dig

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
4 years agotests python krb5: PEP8 cleanups
Gary Lockyer [Thu, 10 Dec 2020 22:55:01 +0000 (11:55 +1300)] 
tests python krb5: PEP8 cleanups

Fix all the PEP8 warnings in samba/tests/krb5. With the exception of
rfc4120_pyasn1.py, which is generated from rfc4120.asn1.

As these tests are new, it makes sense to ensure that they conform to
PEP8. And set an aspirational goal for the rest of our python code.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Mon Dec 21 21:29:28 UTC 2020 on sn-devel-184

4 years agotests python krb5: use key usage constants
Gary Lockyer [Thu, 10 Dec 2020 03:27:17 +0000 (16:27 +1300)] 
tests python krb5: use key usage constants

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
4 years agotests python krb5: Add key usage constants
Gary Lockyer [Thu, 10 Dec 2020 03:26:06 +0000 (16:26 +1300)] 
tests python krb5: Add key usage constants

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
4 years agodns_update.c: handle DNS_QTYPE_ALL
Björn Jacke [Thu, 19 Nov 2020 11:18:28 +0000 (12:18 +0100)] 
dns_update.c: handle DNS_QTYPE_ALL

we have code to handle this, we should not refuse the request

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14576

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Sat Dec 19 18:20:30 UTC 2020 on sn-devel-184

4 years agogpo: Apply Group Policy Sudo Rights from VGP
David Mulder [Tue, 3 Nov 2020 17:45:45 +0000 (10:45 -0700)] 
gpo: Apply Group Policy Sudo Rights from VGP

This adds a Group Policy extension which applies
Sudo rights set by Vintela Group Policy in the
SYSVOL.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Dec 19 08:11:50 UTC 2020 on sn-devel-184

4 years agogpo: Test Group Policy VGP Sudo Rights
David Mulder [Tue, 3 Nov 2020 20:14:34 +0000 (13:14 -0700)] 
gpo: Test Group Policy VGP Sudo Rights

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agogpo: Add gp_xml_ext parser for group policy
David Mulder [Tue, 3 Nov 2020 17:44:27 +0000 (10:44 -0700)] 
gpo: Add gp_xml_ext parser for group policy

This adds an extension parser for parsing xml
files in the sysvol.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: close_file() should never see an internal dirfsp.
Jeremy Allison [Thu, 17 Dec 2020 20:31:35 +0000 (12:31 -0800)] 
smbd: close_file() should never see an internal dirfsp.

Assert this is the case.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Dec 18 16:27:38 UTC 2020 on sn-devel-184

4 years agovfs_acl_tdb: avoid deleting the NT ACL from the tdb
Ralph Boehme [Wed, 16 Dec 2020 14:41:07 +0000 (15:41 +0100)] 
vfs_acl_tdb: avoid deleting the NT ACL from the tdb

...when called as part of setting a new NT ACL. This implements the same logic
added to vfs_acl_xattr in the previous commit, to make sure both modules behave
identically.

This depends on the previous code changes, so
won't be back ported. But for reference the
bug id is below.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14592

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Dec 17 20:04:22 UTC 2020 on sn-devel-184

4 years agovfs_acl_xattr: avoid removing the ACL xattr
Ralph Boehme [Wed, 16 Dec 2020 14:42:46 +0000 (15:42 +0100)] 
vfs_acl_xattr: avoid removing the ACL xattr

...when called as part of setting a new NT ACL.

This depends on the previous code changes, so
won't be back ported. But for reference the
bug id is below.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14592

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_acl_common: add an fsp extension when setting ACL
Ralph Boehme [Wed, 16 Dec 2020 14:37:02 +0000 (15:37 +0100)] 
vfs_acl_common: add an fsp extension when setting ACL

This allows the module checking for the fsp extension variable setting_nt_acl
and will be used in the module functions for .sys_acl_set_fd_fn (so
sys_acl_set_fd_xattr() and sys_acl_set_fd_tdb()).

This depends on the previous code changes, so
won't be back ported. But for reference the
bug id is below.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14592

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_acl_common: add and use a function exit label
Ralph Boehme [Wed, 16 Dec 2020 14:32:52 +0000 (15:32 +0100)] 
vfs_acl_common: add and use a function exit label

No change in behaviour. A subsequent commit will add more function exit cleanup
logic after the done label.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_acl_xattr: reformatting
Ralph Boehme [Sat, 12 Dec 2020 13:16:54 +0000 (14:16 +0100)] 
vfs_acl_xattr: reformatting

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs: RIP SMB_VFS_SYS_ACL_SET_FILE()
Ralph Boehme [Mon, 14 Dec 2020 15:23:38 +0000 (16:23 +0100)] 
vfs: RIP SMB_VFS_SYS_ACL_SET_FILE()

          .--. .-,       .-..-.__
        .'(`.-` \_.-'-./`  |\_( "\__
     __.>\ ';  _;---,._|   / __/`'--)
    /.--.  : |/' _.--.<|  /  | |
_..-'    `\     /' /`  /_/ _/_/
 >_.-``-. `Y  /' _;---.`|/))))
'` .-''. \|:  .'   __, .-'"`
 .'--._ `-:  \/:  /'  '.\             _|_
     /.'`\ :;   /'      `-           `-|-`
    -`    |     |                      |
          :.; : |                  .-'~^~`-.
          |:    |                .' _     _ `.
          |:.   |                | |_) | |_) |
          :. :  |                | | \ | |   |
          : ;   |                |           |
          : ;   |                |  SMB_VFS  |
          : ;   |                |  SYS_ACL  |
          : ;   |                | SET_FILE  |
        .jgs. : ;                |           |
-."-/\\\/:::.    `\."-._'."-"_\\-|           |///."-
" -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoposix_acls: use pathref fsp in copy_access_posix_acl()
Ralph Boehme [Mon, 14 Dec 2020 10:21:05 +0000 (11:21 +0100)] 
posix_acls: use pathref fsp in copy_access_posix_acl()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: use pathref fsp in change_dir_owner_to_parent()
Ralph Boehme [Mon, 14 Dec 2020 10:20:46 +0000 (11:20 +0100)] 
smbd: use pathref fsp in change_dir_owner_to_parent()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: use a real dirfsp/atname in mkdir_internal() with SMB_VFS_MKDIRAT()
Ralph Boehme [Wed, 16 Dec 2020 14:27:39 +0000 (15:27 +0100)] 
smbd: use a real dirfsp/atname in mkdir_internal() with SMB_VFS_MKDIRAT()

Now that all VFS modules support real dirfsps in SMB_VFS_MKDIRAT(), pass the
pathref fsp from the parent directory and the basename of the new directory.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: after creating a directory, open the fsp as pathref fsp
Ralph Boehme [Wed, 16 Dec 2020 14:25:47 +0000 (15:25 +0100)] 
smbd: after creating a directory, open the fsp as pathref fsp

After the directory has been created by SMB_VFS_MKDIRAT(), open the fsp on the
new directory as pathref fsp so we can use handle based VFS functions.

open_directory() will reopen the fsp as a full fsp, but that doesn't really hurt
thanks to the reopen_from_procfd() optimisation.

Note that smb_dname == fsp->fsp_name.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: pass fsp to mkdir_internal()
Ralph Boehme [Thu, 17 Dec 2020 11:31:13 +0000 (12:31 +0100)] 
smbd: pass fsp to mkdir_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: open a pathref fsp on the parent directory
Ralph Boehme [Wed, 16 Dec 2020 14:20:47 +0000 (15:20 +0100)] 
smbd: open a pathref fsp on the parent directory

Prepares for calling SMB_VFS_MKDIRAT() below with a real dirfsp/atname. As
parent_dir_fname now has a pathref fsp in parent_dir_fname->fsp, make sure to
talloc_free() the parent_dir_fname before leaving the function, so the pathref
fsp is closed right there and not left around until the talloc tos is
destroyed (parent_dir_fname is a child of talloc-tos).

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_time_audit: support real dirfsps in smb_time_audit_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:56:11 +0000 (15:56 +0100)] 
vfs_time_audit: support real dirfsps in smb_time_audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_full_audit: support real dirfsps in smb_full_audit_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:55:04 +0000 (15:55 +0100)] 
vfs_full_audit: support real dirfsps in smb_full_audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_shadow_copy2: support real dirfsps in shadow_copy2_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:53:33 +0000 (15:53 +0100)] 
vfs_shadow_copy2: support real dirfsps in shadow_copy2_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: check for absolute paths in full_path_from_dirfsp_atname()
Ralph Boehme [Mon, 14 Dec 2020 14:53:11 +0000 (15:53 +0100)] 
smbd: check for absolute paths in full_path_from_dirfsp_atname()

If the "atname" is an absolute path we can ignore the dirfsp and just return a
copy of the atname.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_linux_xfs_sgid: support real dirfsps in linux_xfs_sgid_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:49:15 +0000 (15:49 +0100)] 
vfs_linux_xfs_sgid: support real dirfsps in linux_xfs_sgid_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_glusterfs: support real dirfsps in vfs_gluster_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:43:39 +0000 (15:43 +0100)] 
vfs_glusterfs: support real dirfsps in vfs_gluster_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_audit: support real dirfsps in audit_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:42:23 +0000 (15:42 +0100)] 
vfs_audit: support real dirfsps in audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_extd_audit: support real dirfsps in audit_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:39:37 +0000 (15:39 +0100)] 
vfs_extd_audit: support real dirfsps in audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_xattr_tdb: support real dirfsps in xattr_tdb_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:38:07 +0000 (15:38 +0100)] 
vfs_xattr_tdb: support real dirfsps in xattr_tdb_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_media_harmony: support real dirfsps in mh_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:35:22 +0000 (15:35 +0100)] 
vfs_media_harmony: support real dirfsps in mh_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_syncops: support real dirfsps in syncops_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:31:37 +0000 (15:31 +0100)] 
vfs_syncops: support real dirfsps in syncops_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_unityed_media: support real dirfsps in um_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 14:29:10 +0000 (15:29 +0100)] 
vfs_unityed_media: support real dirfsps in um_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_default: remove assert from vfswrap_mkdirat()
Ralph Boehme [Mon, 14 Dec 2020 10:55:10 +0000 (11:55 +0100)] 
vfs_default: remove assert from vfswrap_mkdirat()

vfswrap_mkdirat() deals with real dirfsps just fine now.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: move mode logic out of vfswrap_mkdirat() to the caller mkdir_internal()
Ralph Boehme [Mon, 14 Dec 2020 10:51:20 +0000 (11:51 +0100)] 
smbd: move mode logic out of vfswrap_mkdirat() to the caller mkdir_internal()

This is the correct place where this code should be. It also means opaque VFS
modules that implement their own mkdirat() like glusterfs now use this logic.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agopysmbd: use SMB_VFS_SYS_ACL_SET_FD() in set_sys_acl_conn()
Ralph Boehme [Mon, 14 Dec 2020 10:25:12 +0000 (11:25 +0100)] 
pysmbd: use SMB_VFS_SYS_ACL_SET_FD() in set_sys_acl_conn()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoposix_acls: use SMB_VFS_SYS_ACL_SET_FD() in set_unix_posix_default_acl()
Ralph Boehme [Mon, 14 Dec 2020 10:21:45 +0000 (11:21 +0100)] 
posix_acls: use SMB_VFS_SYS_ACL_SET_FD() in set_unix_posix_default_acl()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoposix_acls: use SMB_VFS_SYS_ACL_SET_FD() in set_canon_ace_list()
Ralph Boehme [Mon, 14 Dec 2020 09:44:47 +0000 (10:44 +0100)] 
posix_acls: use SMB_VFS_SYS_ACL_SET_FD() in set_canon_ace_list()

SMB_VFS_SYS_ACL_SET_FD() can now safely be used to set default ACLs on
directories.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_default: add support for SMB_ACL_TYPE_DEFAULT and pathref fsps in vfswrap_sys_acl...
Ralph Boehme [Sun, 13 Dec 2020 08:11:37 +0000 (09:11 +0100)] 
vfs_default: add support for SMB_ACL_TYPE_DEFAULT and pathref fsps in vfswrap_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_aixacl2: handle pathref fsps in aixjfs2_sys_acl_set_fd()
Ralph Boehme [Mon, 14 Dec 2020 09:07:04 +0000 (10:07 +0100)] 
vfs_aixacl2: handle pathref fsps in aixjfs2_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_aixacl: handle pathref fsps in aixacl_sys_acl_set_fd()
Ralph Boehme [Mon, 14 Dec 2020 09:04:15 +0000 (10:04 +0100)] 
vfs_aixacl: handle pathref fsps in aixacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_vxfs: add support for SMB_ACL_TYPE_DEFAULT in vxfs_sys_acl_set_fd()
Ralph Boehme [Mon, 14 Dec 2020 07:10:44 +0000 (08:10 +0100)] 
vfs_vxfs: add support for SMB_ACL_TYPE_DEFAULT in vxfs_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_tru64acl: add support for SMB_ACL_TYPE_DEFAULT to tru64acl_sys_acl_set_fd()
Ralph Boehme [Mon, 14 Dec 2020 07:08:30 +0000 (08:08 +0100)] 
vfs_tru64acl: add support for SMB_ACL_TYPE_DEFAULT to tru64acl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_solarisacl: add support for SMB_ACL_TYPE_DEFAULT in solarisacl_sys_acl_set_fd()
Ralph Boehme [Mon, 14 Dec 2020 07:05:53 +0000 (08:05 +0100)] 
vfs_solarisacl: add support for SMB_ACL_TYPE_DEFAULT in solarisacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_posixacl: support SMB_ACL_TYPE_DEFAULT in posixacl_sys_acl_set_fd()
Ralph Boehme [Mon, 14 Dec 2020 06:57:45 +0000 (07:57 +0100)] 
vfs_posixacl: support SMB_ACL_TYPE_DEFAULT in posixacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_gpfs: add support for SMB_ACL_TYPE_DEFAULT in gpfsacl_sys_acl_set_fd()
Ralph Boehme [Sun, 13 Dec 2020 08:19:25 +0000 (09:19 +0100)] 
vfs_gpfs: add support for SMB_ACL_TYPE_DEFAULT in gpfsacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_fake_acls: add support for SMB_ACL_TYPE_DEFAULT in fake_acls_sys_acl_set_fd()
Ralph Boehme [Sun, 13 Dec 2020 08:18:00 +0000 (09:18 +0100)] 
vfs_fake_acls: add support for SMB_ACL_TYPE_DEFAULT in fake_acls_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_aixacl2: use ACL type in aixjfs2_sys_acl_set_fd()
Ralph Boehme [Sun, 13 Dec 2020 08:07:51 +0000 (09:07 +0100)] 
vfs_aixacl2: use ACL type in aixjfs2_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs_aixacl: use passed in ACL type in aixacl_sys_acl_set_fd()
Ralph Boehme [Sun, 13 Dec 2020 08:06:24 +0000 (09:06 +0100)] 
vfs_aixacl: use passed in ACL type in aixacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agoposixacl_xattr: add support for SMB_ACL_TYPE_DEFAULT in posixacl_xattr_acl_set_fd()
Ralph Boehme [Sun, 13 Dec 2020 07:55:39 +0000 (08:55 +0100)] 
posixacl_xattr: add support for SMB_ACL_TYPE_DEFAULT in posixacl_xattr_acl_set_fd()

No need to handle pathref fsps here, as that is taken care of by
SMB_VFS_FSETXATTR().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agovfs: add acl type arg to SMB_VFS_SYS_ACL_SET_FD()
Ralph Boehme [Mon, 14 Dec 2020 15:28:26 +0000 (16:28 +0100)] 
vfs: add acl type arg to SMB_VFS_SYS_ACL_SET_FD()

No change in behaviour, the new arg is not yet used in any module.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: remove fd_close() from open_directory()
Ralph Boehme [Thu, 17 Dec 2020 11:41:29 +0000 (12:41 +0100)] 
smbd: remove fd_close() from open_directory()

fd_close() was accidentally added twice by
d00d09fdcf73a5839ae4f82cf8e953bb761bfbfb. If it would have been removed by
5770cdd7635a018817418f58bd37268aedebd6a9 that adds the reopen_from_procfd()
optimisation, all would be fine. But fd_close() still being called before
reopen_from_procfd() means we're closing the pathref fd prevening the
optimisation.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: Ensure close_directory() and close_normal_file() only deal with is_fsa files.
Jeremy Allison [Thu, 17 Dec 2020 00:38:28 +0000 (16:38 -0800)] 
smbd: Ensure close_directory() and close_normal_file() only deal with is_fsa files.

This must be the case, so assert it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agosmbd: mark fsp as valid FSA fsp after Durable Handle reconnect succeeded
Ralph Boehme [Thu, 17 Dec 2020 12:41:20 +0000 (13:41 +0100)] 
smbd: mark fsp as valid FSA fsp after Durable Handle reconnect succeeded

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: Move closing a print file out of close_normal_file() (it isn't a normal file...
Jeremy Allison [Thu, 17 Dec 2020 03:49:56 +0000 (19:49 -0800)] 
smbd: Move closing a print file out of close_normal_file() (it isn't a normal file) and into close_file().

Streamlines closing print files and allows close_normal_file()
to restrict itself to is_fsa fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agosmbd: On error exit in create_file_unixpath(), we can't call close_file() on uncomple...
Jeremy Allison [Wed, 16 Dec 2020 23:44:41 +0000 (15:44 -0800)] 
smbd: On error exit in create_file_unixpath(), we can't call close_file() on uncompleted opens.

We can't call directly into close_file(), as that cannot deal
with regular file and directory opens where fsp->fsp_flags.is_fsa
hasn't been set to true (uncompleted opens).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agosmbd: If an smb_filename already has a pathref fsp don't overwrite it.
Jeremy Allison [Thu, 17 Dec 2020 07:59:50 +0000 (23:59 -0800)] 
smbd: If an smb_filename already has a pathref fsp don't overwrite it.

That leaks fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agosmbd: dup_file_fsp() for old DOS style opens also needs to copy the new flags.
Jeremy Allison [Thu, 17 Dec 2020 09:10:12 +0000 (01:10 -0800)] 
smbd: dup_file_fsp() for old DOS style opens also needs to copy the new flags.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agosmbd: Fix debugs in file_new() and fsp_new().
Jeremy Allison [Thu, 17 Dec 2020 07:55:31 +0000 (23:55 -0800)] 
smbd: Fix debugs in file_new() and fsp_new().

Allows grep ' files structure ' in the log
to count up and down the number of files allocated.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agosmbd/notify: add option "honor change notify privilege"
Björn Baumbach [Tue, 6 Nov 2018 14:21:37 +0000 (15:21 +0100)] 
smbd/notify: add option "honor change notify privilege"

This option can be used to make use of the change notify privilege.
By default notify results are not checked against the file system
permissions.

If "honor change notify privilege" is enabled, a user will only
receive notify results, if he has change notify privilege or sufficient
file system permissions. If a user has the change notify privilege, he
will receive all requested notify results, even if the user does not
have the permissions on the file system.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Dec 17 15:01:53 UTC 2020 on sn-devel-184

4 years agoselftest: add tests for smb notify, using the a special share
Björn Baumbach [Mon, 20 Jul 2020 14:49:39 +0000 (16:49 +0200)] 
selftest: add tests for smb notify, using the a special share

That share will get the "honor change notify privilege = yes" option
once it's implemented. For now it's marked as knownfail.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>