]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
4 years agopython: Move dsdb_Dn to samdb
David Mulder [Mon, 14 Sep 2020 17:12:37 +0000 (11:12 -0600)] 
python: Move dsdb_Dn to samdb

The import dsdb needed for dsdb_Dn causes import
errors when trying to import get_bytes/get_string
in some places.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agoFix build after removal of an extra safe_string.h
Alexander Bokovoy [Thu, 1 Oct 2020 12:22:12 +0000 (15:22 +0300)] 
Fix build after removal of an extra safe_string.h

Move of strcasecmp redefine to lib/util/safe_string.h in
https://gitlab.com/samba-team/samba/-/merge_requests/1507 broke build on
Fedora 33 with GCC 10.2.1 for those compilation units that use
ldb_att_cmp().

The reason for that is that ldb_attr_cmp() defined as

   #define ldb_attr_cmp(a, b) strcasecmp(a, b)

because attribute names restricted to be ASCII by RFC2251 (LDAPv3 spec).

A solution is to add

   #undef strcasecmp

to all source code files which use ldb_attr_cmp().

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct  1 22:45:29 UTC 2020 on sn-devel-184

4 years agos3: smbd: Remove the ignored last parameter 'bool *p_last_component_contains_wcard...
Jeremy Allison [Wed, 30 Sep 2020 00:22:10 +0000 (17:22 -0700)] 
s3: smbd: Remove the ignored last parameter 'bool *p_last_component_contains_wcard' from check_path_syntax_internal().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
4 years agosamba-tool tests: rename 'contact create' to 'contact add'
Jule Anger [Thu, 27 Aug 2020 07:20:11 +0000 (09:20 +0200)] 
samba-tool tests: rename 'contact create' to 'contact add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Oct  1 02:44:09 UTC 2020 on sn-devel-184

4 years agodoc: rename 'contact create' to 'contact add'
Jule Anger [Wed, 26 Aug 2020 13:10:11 +0000 (15:10 +0200)] 
doc: rename 'contact create' to 'contact add'

And add 'contact create' as synonym for 'contact add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool contact: rename 'contact create' to 'contact add'
Jule Anger [Wed, 26 Aug 2020 13:07:40 +0000 (15:07 +0200)] 
samba-tool contact: rename 'contact create' to 'contact add'

Keep 'contact create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool tests: rename 'group create' to 'group add'
Jule Anger [Thu, 27 Aug 2020 07:27:12 +0000 (09:27 +0200)] 
samba-tool tests: rename 'group create' to 'group add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agodoc: add 'group create' as synonym for 'group add'
Jule Anger [Wed, 26 Aug 2020 13:11:16 +0000 (15:11 +0200)] 
doc: add 'group create' as synonym for 'group add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool group: add 'group create' as synonym for 'group add'
Jule Anger [Wed, 26 Aug 2020 13:07:16 +0000 (15:07 +0200)] 
samba-tool group: add 'group create' as synonym for 'group add'

Add 'group create' command for a symmetric set of
samba-tool subcommands

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool tests: rename 'computer create' to 'computer add'
Jule Anger [Thu, 27 Aug 2020 07:29:51 +0000 (09:29 +0200)] 
samba-tool tests: rename 'computer create' to 'computer add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agodoc: rename 'computer create' to 'computer add'
Jule Anger [Wed, 26 Aug 2020 13:08:58 +0000 (15:08 +0200)] 
doc: rename 'computer create' to 'computer add'

And add 'computer create' as synonym for 'computer add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool computer: rename 'computer create' to 'computer add'
Jule Anger [Wed, 26 Aug 2020 13:06:47 +0000 (15:06 +0200)] 
samba-tool computer: rename 'computer create' to 'computer add'

Keep 'computer create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool tests: rename 'user create' to 'user add'
Jule Anger [Thu, 27 Aug 2020 07:19:37 +0000 (09:19 +0200)] 
samba-tool tests: rename 'user create' to 'user add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agodoc: rename 'user create' to 'user add'
Jule Anger [Wed, 26 Aug 2020 13:13:12 +0000 (15:13 +0200)] 
doc: rename 'user create' to 'user add'

And add 'user create' as synonym for 'user add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool user: rename 'user create' to 'user add'
Jule Anger [Wed, 26 Aug 2020 13:03:58 +0000 (15:03 +0200)] 
samba-tool user: rename 'user create' to 'user add'

Keep 'user create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool tests: rename 'ou create' to 'ou add'
Jule Anger [Thu, 27 Aug 2020 07:25:44 +0000 (09:25 +0200)] 
samba-tool tests: rename 'ou create' to 'ou add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agodoc: rename 'ou create' to 'ou add'
Jule Anger [Wed, 26 Aug 2020 13:12:02 +0000 (15:12 +0200)] 
doc: rename 'ou create' to 'ou add'

And add 'ou create' as synonym for 'ou add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool ou: rename 'ou create' to 'ou add'
Jule Anger [Wed, 26 Aug 2020 13:08:21 +0000 (15:08 +0200)] 
samba-tool ou: rename 'ou create' to 'ou add'

Keep 'ou create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool tests: add test-cases for 'contact rename'
Jule Anger [Fri, 14 Aug 2020 10:26:11 +0000 (12:26 +0200)] 
samba-tool tests: add test-cases for 'contact rename'

Tests the following options:
 --surname
 --given-name
 --initials
 --force-new-cn
 --reset-cn
 --display-name
 --mail-address

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agodoc: add samba-tool contact rename command to samba-tool man page
Jule Anger [Fri, 14 Aug 2020 10:25:45 +0000 (12:25 +0200)] 
doc: add samba-tool contact rename command to samba-tool man page

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool contact: add new contact 'rename' command
Jule Anger [Fri, 14 Aug 2020 10:25:10 +0000 (12:25 +0200)] 
samba-tool contact: add new contact 'rename' command

Usage: samba-tool contact rename <contactname> [options]

Rename a contact and related attributes.

This command allows to set the contact's name related attributes.

Use an empty attribute value to remove the specified attribute.

The contactname specified on the command is the CN.

Example1:
samba-tool contact rename "John Doe" --surname=Bloggs \\
    --force-new-cn=John

Example1 shows how to change the surname ('sn' attribute) of a contact
'John Doe' to 'Bloggs' and change the CN to 'John' on the local server.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool tests: add test-cases for 'group rename'
Jule Anger [Thu, 6 Aug 2020 13:41:11 +0000 (15:41 +0200)] 
samba-tool tests: add test-cases for 'group rename'

Tests the following options:
 --samaccountname
 --force-new-cn
 --reset-cn
 --mail-address

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agodoc: add samba-tool group rename command to samba-tool man page
Jule Anger [Thu, 6 Aug 2020 13:40:43 +0000 (15:40 +0200)] 
doc: add samba-tool group rename command to samba-tool man page

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool group: add new group 'rename' command
Jule Anger [Thu, 6 Aug 2020 13:39:54 +0000 (15:39 +0200)] 
samba-tool group: add new group 'rename' command

Usage: samba-tool group rename <groupname> [options]

Rename a group and related attributes.

This command allows to set the group's name related attributes.

Use an empty attribute value to remove the specified attribute.

The groupname specified on the command is the sAMAccountName.

Example1:
samba-tool group rename employees --samaccountname=staff

Example1 shows how to change the sAMAaccountName of a group 'employees' to
'staff' on the local server.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool tests: add test-cases for 'user rename'
Jule Anger [Thu, 6 Aug 2020 13:26:13 +0000 (15:26 +0200)] 
samba-tool tests: add test-cases for 'user rename'

Tests the following options:
--surname
--given-name
--initials
--force-new-cn
--reset-cn
--display-name
--mail-address
--samaccountname
--upn

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agodoc: add samba-tool user rename command to samba-tool man page
Jule Anger [Thu, 6 Aug 2020 13:25:13 +0000 (15:25 +0200)] 
doc: add samba-tool user rename command to samba-tool man page

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamba-tool user: add new user 'rename' command
Björn Baumbach [Mon, 15 Jun 2020 18:12:02 +0000 (20:12 +0200)] 
samba-tool user: add new user 'rename' command

Usage: samba-tool user rename <username> [options]

Rename a user and related attributes.

This command allows to set the user's name related attributes. The user's
CN will be renamed automatically.
The user's new CN will be made up by combining the given-name, initials
and surname. A dot ('.') will be appended to the initials automatically.
Use the --force-new-cn option to specify the new CN manually.

The username specified on the command is the sAMAccountName.

Example1:
samba-tool user rename johndoe --surname='Bloggs'

Example1 shows how to change the surname of a user 'johndoe' to 'Bloggs' on
the local server. The user's CN will be renamed automatically, based on
the given name, initials and surname.

Pair-Programmed-With: Jule Anger <ja@sernet.de>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agotestsuite: add test suite for samba-tool contact commands
Jule Anger [Fri, 21 Aug 2020 06:43:17 +0000 (08:43 +0200)] 
testsuite: add test suite for samba-tool contact commands

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamdb: add fullname_from_names() method
Jule Anger [Mon, 24 Aug 2020 14:39:01 +0000 (16:39 +0200)] 
samdb: add fullname_from_names() method

Add a method to construct the fullname, using the given name, the initials
and the surname.
If one of this values is empty, try to use the old one, given by an
attributs set.
If the combination is empty, the method will return the fallback-default
parameter.

Use this method to construct the CN or the displayName of users or
contacts.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agosamdb: add prepare_attr_replace() method
Jule Anger [Mon, 24 Aug 2020 14:34:35 +0000 (16:34 +0200)] 
samdb: add prepare_attr_replace() method

Add a method to prepare a given Message to replace the given attribute.
If the given new value is None or the old value and the new value are
the same, do nothing.
If the new value is empty, prepare to replace the given attribute with
[].
Else prepare to replace the given attribute with the new value.

Use this for samdb.modify(msg).

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agoautobuild: Merge no-modules test with the library --disable-python build
Andrew Bartlett [Fri, 11 Sep 2020 01:36:22 +0000 (13:36 +1200)] 
autobuild: Merge no-modules test with the library --disable-python build

This avoids another full compile cycle.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agoautobuild: Remove more "make install" steps
Andrew Bartlett [Fri, 11 Sep 2020 01:00:14 +0000 (13:00 +1200)] 
autobuild: Remove more "make install" steps

Running a "make install" involves a full re-link which takes quite some time
we really only need to test this in a couple of basic combinations, so remove
from a few more targets.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years ago.gitlab-ci.yml: Remove echo of (incorrect due previous commit) command
Andrew Bartlett [Fri, 11 Sep 2020 00:40:09 +0000 (12:40 +1200)] 
.gitlab-ci.yml: Remove echo of (incorrect due previous commit) command

The command is now echoed by the gitlab interface now anyway,
so avoid having to keep these in sync.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agoautobuild: Remove the os.getpid() from the autobuild directory
Andrew Bartlett [Thu, 10 Sep 2020 23:22:10 +0000 (11:22 +1200)] 
autobuild: Remove the os.getpid() from the autobuild directory

This might help our CI runners get a ccache hit by keeping the path constant.

Otherwise, we only get a good ccache hit rate if the docker container gives
us the same pid each time.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agoselftest: Move some more tests from the samba-o3 job
Andrew Bartlett [Thu, 10 Sep 2020 23:05:19 +0000 (11:05 +1200)] 
selftest: Move some more tests from the samba-o3 job

These tests do not need to be repeated over and over on multiple
distributions.  This just wastes CI resources.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years ago.gitlab-ci.yml: Set interuptable: true
Andrew Bartlett [Thu, 10 Sep 2020 22:47:25 +0000 (10:47 +1200)] 
.gitlab-ci.yml: Set interuptable: true

This should reduce some CI costs, avoiding spending CPU time on jobs that are
already out of date because a new branch has been pushed.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agobuild: Remove Python2 handling in SAMBA_CHECK_PYTHON_HEADERS()
Andrew Bartlett [Thu, 10 Sep 2020 23:05:58 +0000 (11:05 +1200)] 
build: Remove Python2 handling in SAMBA_CHECK_PYTHON_HEADERS()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agobuild: Remove Python2 support from the build
Andrew Bartlett [Thu, 10 Sep 2020 22:40:59 +0000 (10:40 +1200)] 
build: Remove Python2 support from the build

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agoautobuild.py: Combine samba-static and samba-nopython
Andrew Bartlett [Thu, 10 Sep 2020 22:35:58 +0000 (10:35 +1200)] 
autobuild.py: Combine samba-static and samba-nopython

We expect these will complete in under an hour and reduce the number of
parallel jobs.  Hopefully there will be some ccache hits between these
as well.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
4 years agos3: smbd: Remove unused check_path_syntax_wcard().
Jeremy Allison [Wed, 30 Sep 2020 00:18:59 +0000 (17:18 -0700)] 
s3: smbd: Remove unused check_path_syntax_wcard().

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): Wed Sep 30 22:08:01 UTC 2020 on sn-devel-184

4 years agos3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from parse_dfs_path().
Jeremy Allison [Wed, 30 Sep 2020 00:14:22 +0000 (17:14 -0700)] 
s3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from parse_dfs_path().

check_path_syntax_wcard() is now unused.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Implement the 'allow_wcards' parameter inside parse_dfs_path().
Jeremy Allison [Wed, 30 Sep 2020 00:11:47 +0000 (17:11 -0700)] 
s3: smbd: Implement the 'allow_wcards' parameter inside parse_dfs_path().

Previously this didn't actually restrict wildcards here, as check_path_syntax_wcard()
returns the fact there was a wildcard in the last component, but doesn't
return an error. Just use check_path_syntax() instead and check
for wildcards separately.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Remove wrapper resolve_dfspath_wcard(). Just call dfs_redirect() directly.
Jeremy Allison [Tue, 29 Sep 2020 21:24:10 +0000 (14:24 -0700)] 
s3: smbd: Remove wrapper resolve_dfspath_wcard(). Just call dfs_redirect() directly.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from dfs_redirect()
Jeremy Allison [Tue, 29 Sep 2020 21:21:08 +0000 (14:21 -0700)] 
s3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from dfs_redirect()

resolve_dfspath_wcard() is now a tranparent wrapper for dfs_redirect().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from resolve_dfspath_w...
Jeremy Allison [Tue, 29 Sep 2020 21:17:35 +0000 (14:17 -0700)] 
s3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from resolve_dfspath_wcard()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Remove the 'bool *ppath_contains_wcard' parameter from filename_convert_int...
Jeremy Allison [Tue, 29 Sep 2020 21:12:41 +0000 (14:12 -0700)] 
s3: smbd: Remove the 'bool *ppath_contains_wcard' parameter from filename_convert_internal()

It's always ignored.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: The only caller of filename_convert_with_privilege() passes in NULL for...
Jeremy Allison [Tue, 29 Sep 2020 21:09:55 +0000 (14:09 -0700)] 
s3: smbd: The only caller of filename_convert_with_privilege() passes in NULL for the 'bool *ppath_contains_wcard' parameter.

Remove it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: All callers to filename_convert() pass in NULL for the 'bool *ppath_contain...
Jeremy Allison [Tue, 29 Sep 2020 21:08:09 +0000 (14:08 -0700)] 
s3: smbd: All callers to filename_convert() pass in NULL for the 'bool *ppath_contains_wcard' parameter.

Remove it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: As srvstr_get_path_internal() ignores the wcard parameter, use check_path_s...
Jeremy Allison [Wed, 30 Sep 2020 00:16:26 +0000 (17:16 -0700)] 
s3: smbd: As srvstr_get_path_internal() ignores the wcard parameter, use check_path_syntax() instead of check_path_syntax_wcard()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Rename srvstr_get_path_wcard_internal() -> srvstr_get_path_internal().
Jeremy Allison [Tue, 29 Sep 2020 21:01:57 +0000 (14:01 -0700)] 
s3: smbd: Rename srvstr_get_path_wcard_internal() -> srvstr_get_path_internal().

It now does nothing with wildcards.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: All callers to srvstr_get_path_wcard_internal() pass 'ignore' as the last...
Jeremy Allison [Tue, 29 Sep 2020 21:01:01 +0000 (14:01 -0700)] 
s3: smbd: All callers to srvstr_get_path_wcard_internal() pass 'ignore' as the last parameter.

Move it internal to srvstr_get_path_wcard_internal().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Remove the wrapper srvstr_get_path_req_wcard().
Jeremy Allison [Tue, 29 Sep 2020 20:58:22 +0000 (13:58 -0700)] 
s3: smbd: Remove the wrapper srvstr_get_path_req_wcard().

Rename srvstr_get_path_req_wcard() -> srvstr_get_path_req()
as it no longer gets ward status.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: Remove srvstr_get_path_wcard() - no longer used.
Jeremy Allison [Tue, 29 Sep 2020 20:51:46 +0000 (13:51 -0700)] 
s3: smbd: Remove srvstr_get_path_wcard() - no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: srvstr_get_path_wcard_posix() is no longer used.
Jeremy Allison [Tue, 29 Sep 2020 20:48:57 +0000 (13:48 -0700)] 
s3: smbd: srvstr_get_path_wcard_posix() is no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: smb_file_rename_information() doesn't need to use the wildcard status of...
Jeremy Allison [Tue, 29 Sep 2020 20:47:08 +0000 (13:47 -0700)] 
s3: smbd: smb_file_rename_information() doesn't need to use the wildcard status of the destination.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 call_nt_transact_rename() never needs wcard bool.
Jeremy Allison [Tue, 29 Sep 2020 20:44:15 +0000 (13:44 -0700)] 
s3: smbd: SMB1 call_nt_transact_rename() never needs wcard bool.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_copy(). Use srvstr_get_path_req() not srvstr_get_path_req_wcard()
Jeremy Allison [Tue, 29 Sep 2020 20:26:02 +0000 (13:26 -0700)] 
s3: smbd: SMB1 reply_copy(). Use srvstr_get_path_req() not srvstr_get_path_req_wcard()

Now we check the wildcard status elsewhere. Don't pass to filename_convert() either.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_copy() - set the xxx_has_wild flags from the processed names.
Jeremy Allison [Tue, 29 Sep 2020 20:24:29 +0000 (13:24 -0700)] 
s3: smbd: SMB1 reply_copy() - set the xxx_has_wild flags from the processed names.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_mv() no longer needs the XX_has_wcard variables.
Jeremy Allison [Tue, 29 Sep 2020 20:09:52 +0000 (13:09 -0700)] 
s3: smbd: SMB1 reply_mv() no longer needs the XX_has_wcard variables.

Use srvstr_get_path_req() not srvstr_get_path_req_wcard().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 rename_internals() can figure out the wildcard status of the paths...
Jeremy Allison [Tue, 29 Sep 2020 20:08:01 +0000 (13:08 -0700)] 
s3: smbd: SMB1 rename_internals() can figure out the wildcard status of the paths by itself.

No need to pass them as parameters.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_unlink() - use srvstr_get_path_req() not srvstr_get_path_req_wcard()
Jeremy Allison [Tue, 29 Sep 2020 19:32:02 +0000 (12:32 -0700)] 
s3: smbd: SMB1 reply_unlink() - use srvstr_get_path_req() not srvstr_get_path_req_wcard()

Now unlink_internals() checks its own wildcard on the mask.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 call_trans2findnext() doesn't need the mask_contains_wcard bool.
Jeremy Allison [Tue, 29 Sep 2020 20:40:12 +0000 (13:40 -0700)] 
s3: smbd: SMB1 call_trans2findnext() doesn't need the mask_contains_wcard bool.

dptr already knows this.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 call_trans2findfirst(). Don't need the wildcard status of the mask...
Jeremy Allison [Tue, 29 Sep 2020 20:31:21 +0000 (13:31 -0700)] 
s3: smbd: SMB1 call_trans2findfirst(). Don't need the wildcard status of the mask here.

dptr_create() can work this out all on its own.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: unlink_internals() can figure out if the mask has a wildcard on its own.
Jeremy Allison [Tue, 29 Sep 2020 19:30:53 +0000 (12:30 -0700)] 
s3: smbd: unlink_internals() can figure out if the mask has a wildcard on its own.

Doesn't need a parameter for that.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_fclose() doesn't need wcard, use srvstr_get_path_req() not srvst...
Jeremy Allison [Tue, 29 Sep 2020 19:14:11 +0000 (12:14 -0700)] 
s3: smbd: SMB1 reply_fclose() doesn't need wcard, use srvstr_get_path_req() not srvstr_get_path_req_wcard().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_search(). Use srvstr_get_path_req() not srvstr_get_path_req_wcard()
Jeremy Allison [Tue, 29 Sep 2020 19:07:39 +0000 (12:07 -0700)] 
s3: smbd: SMB1 reply_search(). Use srvstr_get_path_req() not srvstr_get_path_req_wcard()

If we have a wildcard is found by other means now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_search(). The dptr already knows if the mask has a wildcard.
Jeremy Allison [Tue, 29 Sep 2020 19:05:53 +0000 (12:05 -0700)] 
s3: smbd: SMB1 reply_search(). The dptr already knows if the mask has a wildcard.

Get the value from the dptr instead.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_search() doesn't actually care if the mask contains a wildcard...
Jeremy Allison [Tue, 29 Sep 2020 18:49:01 +0000 (11:49 -0700)] 
s3: smbd: SMB1 reply_search() doesn't actually care if the mask contains a wildcard or not.

Don't pass to filename_convert().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: In SMB2 query directory we don't need to do full path resolution of the...
Jeremy Allison [Tue, 29 Sep 2020 18:36:50 +0000 (11:36 -0700)] 
s3: smbd: In SMB2 query directory we don't need to do full path resolution of the mask component.

get_original_lcomp() does all the name canonicalization required for the mask.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: srvstr_get_path_req_wcard() is now static to reply.c
Jeremy Allison [Tue, 29 Sep 2020 18:13:03 +0000 (11:13 -0700)] 
s3: smbd: srvstr_get_path_req_wcard() is now static to reply.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we don't need...
Jeremy Allison [Tue, 29 Sep 2020 18:11:43 +0000 (11:11 -0700)] 
s3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we don't need to pass it to filename_convert().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we can use...
Jeremy Allison [Tue, 29 Sep 2020 18:10:19 +0000 (11:10 -0700)] 
s3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we can use srvstr_get_path_req() instead of srvstr_get_path_req_wcard().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_ntrename() - set dest_has_wcard from the parsed last component.
Jeremy Allison [Tue, 29 Sep 2020 18:06:54 +0000 (11:06 -0700)] 
s3: smbd: SMB1 reply_ntrename() - set dest_has_wcard from the parsed last component.

We eventually want to remove the last_component_has_wcard out of the srvstr_get_pathXXX()
calls and just use srvstr_get_path_req().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_ntrename() - Move the call to get_original_lcomp() to before...
Jeremy Allison [Tue, 29 Sep 2020 03:47:42 +0000 (20:47 -0700)] 
s3: smbd: SMB1 reply_ntrename() - Move the call to get_original_lcomp() to before filename_convert() for the destination name.

Simple code re-arrangement to make the next change clear.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_ntrename() - the source cannot have a wildcard.
Jeremy Allison [Tue, 29 Sep 2020 03:45:55 +0000 (20:45 -0700)] 
s3: smbd: SMB1 reply_ntrename() - the source cannot have a wildcard.

Simplify the wildcard processing of the source name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 comment out unused UCF_COND_ALLOW_WCARD_LCOMP flag.
Jeremy Allison [Tue, 29 Sep 2020 03:12:23 +0000 (20:12 -0700)] 
s3: smbd: SMB1 comment out unused UCF_COND_ALLOW_WCARD_LCOMP flag.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 Remove the crazy semantics in filename_convert_internal() using UCF_CO...
Jeremy Allison [Tue, 29 Sep 2020 03:10:32 +0000 (20:10 -0700)] 
s3: smbd: SMB1 Remove the crazy semantics in filename_convert_internal() using UCF_COND_ALLOW_WCARD_LCOMP.

In the places where wildcards are allowed in SMB1
we always pass in UCF_ALWAYS_ALLOW_WCARD_LCOMP.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: MS-DFS - We no longer ever set UCF_COND_ALLOW_WCARD_LCOMP so don't check...
Jeremy Allison [Tue, 29 Sep 2020 03:08:45 +0000 (20:08 -0700)] 
s3: smbd: MS-DFS - We no longer ever set UCF_COND_ALLOW_WCARD_LCOMP so don't check for it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_ntrename() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.
Jeremy Allison [Tue, 29 Sep 2020 03:07:36 +0000 (20:07 -0700)] 
s3: smbd: SMB1 reply_ntrename() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_copy() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.
Jeremy Allison [Tue, 29 Sep 2020 03:06:04 +0000 (20:06 -0700)] 
s3: smbd: SMB1 reply_copy() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_mv() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.
Jeremy Allison [Tue, 29 Sep 2020 03:04:51 +0000 (20:04 -0700)] 
s3: smbd: SMB1 reply_mv() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: SMB1 reply_unlink() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.
Jeremy Allison [Tue, 29 Sep 2020 03:03:08 +0000 (20:03 -0700)] 
s3: smbd: SMB1 reply_unlink() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agos3: smbd: dptr_create() doesn't need a separate wcard_has_wild parameter.
Jeremy Allison [Tue, 29 Sep 2020 18:58:54 +0000 (11:58 -0700)] 
s3: smbd: dptr_create() doesn't need a separate wcard_has_wild parameter.

It can figure this out by itself.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
4 years agoRestrict GSSAPI query to the krb5 mechanism
Simo Sorce [Fri, 25 Sep 2020 00:59:42 +0000 (20:59 -0400)] 
Restrict GSSAPI query to the krb5 mechanism

Otherwise GSSAPI will consult other mechanisms if available and we can
only cope with krb5 credentials here.

Signed-off-by: Simo Sorce <idra@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 30 20:45:23 UTC 2020 on sn-devel-184

4 years agosmbclient: Fix recursive mget
Volker Lendecke [Mon, 28 Sep 2020 13:03:41 +0000 (15:03 +0200)] 
smbclient: Fix recursive mget

Make do_mget rely on do_list() already doing the recursion in a
breadth-first manner. The previous code called do_list() from within
its callback. Unfortunately the recent simplifications of do_list()
broke this, leading to recursive mget to segfault. Instead of figuring
out how this worked before the simplifications in do_list() (I did
spend a few hours on this) and fixing it, I chose to restructure
do_mget() to not recursively call do_list() anymore but instead rely
on do_list() to do the recursion. Saves quite a few lines of code and
complexity.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 30 17:23:45 UTC 2020 on sn-devel-184

4 years agotest3: Add a test showing that smbclient recursive mget is broken
Volker Lendecke [Mon, 28 Sep 2020 14:29:27 +0000 (16:29 +0200)] 
test3: Add a test showing that smbclient recursive mget is broken

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbclient: Slightly simplify do_mget()
Volker Lendecke [Mon, 28 Sep 2020 12:21:24 +0000 (14:21 +0200)] 
smbclient: Slightly simplify do_mget()

Put the prompt query into a separate if-statement, move the "quest"
variable closer to its use

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbclient: Remove the "abort_mget" variable
Volker Lendecke [Mon, 28 Sep 2020 12:11:13 +0000 (14:11 +0200)] 
smbclient: Remove the "abort_mget" variable

This was never set to true anywhere in the code

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolib: Remove an optimization in string_replace()
Volker Lendecke [Mon, 28 Sep 2020 10:31:13 +0000 (12:31 +0200)] 
lib: Remove an optimization in string_replace()

Why? This simplifies the code.

Why do I believe we can do this? I don't think this is a very common
operation in critical code paths. Also, next_codepoint() already has
the same optimization. If this turns out to be a measurable
performance issue, we should turn next_codepoint() into a static
inline function doing the 7-bit optimized code path inlined the same
way we did it for tdb_oob(). This way all callers would benefit from
this optimization.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agospoolss: Align some integer types
Volker Lendecke [Mon, 28 Sep 2020 09:56:33 +0000 (11:56 +0200)] 
spoolss: Align some integer types

SPOOLSS_NOTIFY_MSG_CTR->num_groups is defined as uint32_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agospoolss: Align some integer types
Volker Lendecke [Mon, 28 Sep 2020 09:55:57 +0000 (11:55 +0200)] 
spoolss: Align some integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: process.c does not need libsmb.h
Volker Lendecke [Sun, 27 Sep 2020 19:05:53 +0000 (21:05 +0200)] 
smbd: process.c does not need libsmb.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agosmbd: Align integer types in gid_in_use()
Volker Lendecke [Sun, 27 Sep 2020 19:04:40 +0000 (21:04 +0200)] 
smbd: Align integer types in gid_in_use()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolibsmb: Make cli_smb2_list() prototype more descriptive
Volker Lendecke [Sun, 27 Sep 2020 11:43:19 +0000 (13:43 +0200)] 
libsmb: Make cli_smb2_list() prototype more descriptive

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agolibsmb: Make cli_list() prototype more descriptive
Volker Lendecke [Sun, 27 Sep 2020 09:41:48 +0000 (11:41 +0200)] 
libsmb: Make cli_list() prototype more descriptive

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
4 years agos3: smbd: Don't overwrite contents of fsp->aio_requests[0] with NULL via TALLOC_FREE().
Jeremy Allison [Sun, 27 Sep 2020 05:14:33 +0000 (22:14 -0700)] 
s3: smbd: Don't overwrite contents of fsp->aio_requests[0] with NULL via TALLOC_FREE().

They may have been carefully set by the aio_del_req_from_fsp()
destructor so we must not overwrite here.

Found via some *amazing* debugging work from Ashok Ramakrishnan <aramakrishnan@nasuni.com>.

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

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): Wed Sep 30 11:18:43 UTC 2020 on sn-devel-184

4 years agos3:util:net_conf - allow empty path for [homes]
Andrew [Fri, 4 Sep 2020 17:24:41 +0000 (13:24 -0400)] 
s3:util:net_conf - allow empty path for [homes]

Validation for "net conf addshare" is overly strict. Empty string for
path for homes share is valid.

Signed-off-by: Andrew <awalker@ixsystems.com>
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 24 21:41:12 UTC 2020 on sn-devel-184

4 years agoprovision: BIND 9.17.x is not supported
Amitay Isaacs [Sun, 13 Sep 2020 23:45:50 +0000 (09:45 +1000)] 
provision: BIND 9.17.x is not supported

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Sep 24 05:55:43 UTC 2020 on sn-devel-184

4 years agoprovision: Add support for BIND 9.16.x
Amitay Isaacs [Fri, 11 Sep 2020 02:35:30 +0000 (12:35 +1000)] 
provision: Add support for BIND 9.16.x

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
4 years agobind9-dlz: Add support for BIND 9.16.x
Amitay Isaacs [Fri, 11 Sep 2020 02:34:07 +0000 (12:34 +1000)] 
bind9-dlz: Add support for BIND 9.16.x

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>