samba.git
4 years agobuild: drop --with-libcephfs=<path> support
David Disseldorp [Tue, 18 Jun 2019 12:35:02 +0000 (14:35 +0200)]
build: drop --with-libcephfs=<path> support

--with-libcephfs=<path> provides a mechanism for explicitly specifying
header and library paths for Ceph. This adds unnecessary complexity and
can be achieved using generic compiler environment variables (e.g.
GCC LIBRARY_PATH and C_INCLUDE_PATH), so drop --with-libcephfs support.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
4 years agobuild: Raise minimum python version to 3.5.0 for Samba 4.12
Andrew Bartlett [Mon, 26 Aug 2019 02:36:49 +0000 (14:36 +1200)]
build: Raise minimum python version to 3.5.0 for Samba 4.12

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep  2 01:14:05 UTC 2019 on sn-devel-184

4 years agodsdb: Remove unused local_password module
Andrew Bartlett [Fri, 30 Aug 2019 10:12:03 +0000 (22:12 +1200)]
dsdb: Remove unused local_password module

This was an idea about how Samba might have worked if passwords were
not safe to be stored in a remote DB (get some kind of LDAP backend).

Nothing ever used this, but it was a nice idea.  But git master is not
the place to preserve history, even interesting ideas like splitting
passwords from the non-password data (possible because, in the same way
we are allowed to encrypt them, we do not allow a search on password
values).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
4 years agodsdb: Remove unused simple_dn module
Andrew Bartlett [Fri, 30 Aug 2019 10:05:37 +0000 (22:05 +1200)]
dsdb: Remove unused simple_dn module

This became unused with 2b0fc74a0916a6ab0d5ac007cc5e100d4682b2ea that
removed the last of the support for the LDAP Backend

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
4 years agoutil: Remove unused NS_GUID_string() and NS_GUID_from_string()
Andrew Bartlett [Fri, 30 Aug 2019 08:38:01 +0000 (20:38 +1200)]
util: Remove unused NS_GUID_string() and NS_GUID_from_string()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14063
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
4 years agodsdb: Remove unused entryuuid and nsuniqueid modules
Andrew Bartlett [Fri, 30 Aug 2019 08:44:57 +0000 (20:44 +1200)]
dsdb: Remove unused entryuuid and nsuniqueid modules

These were for the now removed OpenLDAP backend.  Any future work in this area will
not involve this kind of translation, it will be done much more cleanly.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
4 years agoSpelling fixes s/ querys / queries /
Mathieu Parent [Thu, 29 Aug 2019 20:44:54 +0000 (22:44 +0200)]
Spelling fixes s/ querys / queries /

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Sep  1 23:38:14 UTC 2019 on sn-devel-184

4 years agoSpelling fixes s/varaible/variable/
Mathieu Parent [Thu, 29 Aug 2019 20:43:03 +0000 (22:43 +0200)]
Spelling fixes s/varaible/variable/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/hightest/highest/
Mathieu Parent [Thu, 29 Aug 2019 20:42:54 +0000 (22:42 +0200)]
Spelling fixes s/hightest/highest/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/permited/permitted/
Mathieu Parent [Thu, 29 Aug 2019 20:42:36 +0000 (22:42 +0200)]
Spelling fixes s/permited/permitted/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/accomodations/accommodations/
Mathieu Parent [Thu, 29 Aug 2019 20:42:19 +0000 (22:42 +0200)]
Spelling fixes s/accomodations/accommodations/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/intergration/integration/
Mathieu Parent [Thu, 29 Aug 2019 20:41:59 +0000 (22:41 +0200)]
Spelling fixes s/intergration/integration/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/preceeding/preceding/
Mathieu Parent [Thu, 29 Aug 2019 20:39:39 +0000 (22:39 +0200)]
Spelling fixes s/preceeding/preceding/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/valuie/value/
Mathieu Parent [Thu, 29 Aug 2019 20:39:20 +0000 (22:39 +0200)]
Spelling fixes s/valuie/value/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/withing/within/
Mathieu Parent [Thu, 29 Aug 2019 20:39:12 +0000 (22:39 +0200)]
Spelling fixes s/withing/within/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/suceeded/succeeded/
Mathieu Parent [Thu, 29 Aug 2019 20:38:52 +0000 (22:38 +0200)]
Spelling fixes s/suceeded/succeeded/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/whitch/which/
Mathieu Parent [Thu, 29 Aug 2019 20:37:54 +0000 (22:37 +0200)]
Spelling fixes s/whitch/which/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/touble/trouble/
Mathieu Parent [Thu, 29 Aug 2019 20:37:10 +0000 (22:37 +0200)]
Spelling fixes s/touble/trouble/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/implentation/implementation/
Mathieu Parent [Thu, 29 Aug 2019 20:37:02 +0000 (22:37 +0200)]
Spelling fixes s/implentation/implementation/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/staticly/statically/
Mathieu Parent [Thu, 29 Aug 2019 20:36:54 +0000 (22:36 +0200)]
Spelling fixes s/staticly/statically/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/ingnored/ignored/
Mathieu Parent [Thu, 29 Aug 2019 20:36:47 +0000 (22:36 +0200)]
Spelling fixes s/ingnored/ignored/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/compatability/compatibility/
Mathieu Parent [Thu, 29 Aug 2019 20:36:40 +0000 (22:36 +0200)]
Spelling fixes s/compatability/compatibility/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/priveliges/privileges/
Mathieu Parent [Thu, 29 Aug 2019 20:34:49 +0000 (22:34 +0200)]
Spelling fixes s/priveliges/privileges/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/retreiving/retrieving/
Mathieu Parent [Thu, 29 Aug 2019 20:34:38 +0000 (22:34 +0200)]
Spelling fixes s/retreiving/retrieving/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/concatonated/concatenated/
Mathieu Parent [Thu, 29 Aug 2019 20:33:05 +0000 (22:33 +0200)]
Spelling fixes s/concatonated/concatenated/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/rebuilded/rebuilt/
Mathieu Parent [Thu, 29 Aug 2019 20:33:04 +0000 (22:33 +0200)]
Spelling fixes s/rebuilded/rebuilt/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/accidentially/accidentally/
Mathieu Parent [Thu, 29 Aug 2019 20:33:04 +0000 (22:33 +0200)]
Spelling fixes s/accidentially/accidentally/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/substitue/substitute/
Mathieu Parent [Thu, 29 Aug 2019 20:33:04 +0000 (22:33 +0200)]
Spelling fixes s/substitue/substitute/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/simliar/similar/
Mathieu Parent [Thu, 29 Aug 2019 20:32:23 +0000 (22:32 +0200)]
Spelling fixes s/simliar/similar/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/explizitly/explicitly/
Mathieu Parent [Thu, 29 Aug 2019 20:32:05 +0000 (22:32 +0200)]
Spelling fixes s/explizitly/explicitly/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/filesytems/filesystems/
Mathieu Parent [Thu, 29 Aug 2019 20:31:41 +0000 (22:31 +0200)]
Spelling fixes s/filesytems/filesystems/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/directores/directories/
Mathieu Parent [Thu, 29 Aug 2019 20:31:25 +0000 (22:31 +0200)]
Spelling fixes s/directores/directories/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/ dont / don't /
Mathieu Parent [Thu, 29 Aug 2019 20:20:11 +0000 (22:20 +0200)]
Spelling fixes s/ dont / don't /

Excluding examples/tridge/smb.conf

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/ upto / up to /
Mathieu Parent [Thu, 29 Aug 2019 20:19:42 +0000 (22:19 +0200)]
Spelling fixes s/ upto / up to /

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/ ot / to /
Mathieu Parent [Thu, 29 Aug 2019 20:19:03 +0000 (22:19 +0200)]
Spelling fixes s/ ot / to /

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/noone/no one/
Mathieu Parent [Thu, 29 Aug 2019 20:05:05 +0000 (22:05 +0200)]
Spelling fixes s/noone/no one/

Skipping source4/torture/winbind/struct_based.c

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/recieved/received/
Mathieu Parent [Thu, 29 Aug 2019 20:02:13 +0000 (22:02 +0200)]
Spelling fixes s/recieved/received/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/explicite /explicit /
Mathieu Parent [Thu, 29 Aug 2019 20:01:54 +0000 (22:01 +0200)]
Spelling fixes s/explicite /explicit /

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/wont /won't /
Mathieu Parent [Thu, 29 Aug 2019 19:58:50 +0000 (21:58 +0200)]
Spelling fixes s/wont /won't /

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/didnt'/didn't/
Mathieu Parent [Thu, 29 Aug 2019 19:58:27 +0000 (21:58 +0200)]
Spelling fixes s/didnt'/didn't/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/overriden/overridden/
Mathieu Parent [Thu, 29 Aug 2019 19:54:14 +0000 (21:54 +0200)]
Spelling fixes s/overriden/overridden/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/optinally/optionally/
Mathieu Parent [Thu, 29 Aug 2019 19:53:43 +0000 (21:53 +0200)]
Spelling fixes s/optinally/optionally/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/componet/component/
Mathieu Parent [Thu, 29 Aug 2019 19:53:35 +0000 (21:53 +0200)]
Spelling fixes s/componet/component/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/nonexistant/nonexistent/
Mathieu Parent [Thu, 29 Aug 2019 19:53:27 +0000 (21:53 +0200)]
Spelling fixes s/nonexistant/nonexistent/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/avaiable/available/
Mathieu Parent [Thu, 29 Aug 2019 19:53:18 +0000 (21:53 +0200)]
Spelling fixes s/avaiable/available/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/DISLPAY/DISPLAY/
Mathieu Parent [Thu, 29 Aug 2019 19:52:56 +0000 (21:52 +0200)]
Spelling fixes s/DISLPAY/DISPLAY/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/serivce/service/
Mathieu Parent [Thu, 29 Aug 2019 19:52:33 +0000 (21:52 +0200)]
Spelling fixes s/serivce/service/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/BUITIN/BUILTIN/
Mathieu Parent [Thu, 29 Aug 2019 19:52:21 +0000 (21:52 +0200)]
Spelling fixes s/BUITIN/BUILTIN/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/emtpy/empty/
Mathieu Parent [Thu, 29 Aug 2019 19:52:10 +0000 (21:52 +0200)]
Spelling fixes s/emtpy/empty/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/Therefor /Therefore /
Mathieu Parent [Thu, 29 Aug 2019 19:51:56 +0000 (21:51 +0200)]
Spelling fixes s/Therefor /Therefore /

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/exisiting/existing/
Mathieu Parent [Thu, 29 Aug 2019 19:50:56 +0000 (21:50 +0200)]
Spelling fixes s/exisiting/existing/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/hierachy/hierarchy/
Mathieu Parent [Thu, 29 Aug 2019 19:50:45 +0000 (21:50 +0200)]
Spelling fixes s/hierachy/hierarchy/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/setted/set/
Mathieu Parent [Thu, 29 Aug 2019 19:50:35 +0000 (21:50 +0200)]
Spelling fixes s/setted/set/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/encrpted/encrypted/
Mathieu Parent [Thu, 29 Aug 2019 19:50:24 +0000 (21:50 +0200)]
Spelling fixes s/encrpted/encrypted/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/succedded/succeeded/
Mathieu Parent [Thu, 29 Aug 2019 19:34:10 +0000 (21:34 +0200)]
Spelling fixes s/succedded/succeeded/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/Mirgate/Migrate/
Mathieu Parent [Thu, 29 Aug 2019 19:33:56 +0000 (21:33 +0200)]
Spelling fixes s/Mirgate/Migrate/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/exising/existing/
Mathieu Parent [Thu, 29 Aug 2019 19:32:30 +0000 (21:32 +0200)]
Spelling fixes s/exising/existing/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/convertion/conversion/
Mathieu Parent [Thu, 29 Aug 2019 19:31:07 +0000 (21:31 +0200)]
Spelling fixes s/convertion/conversion/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/autentication/authentication/
Mathieu Parent [Thu, 29 Aug 2019 19:30:48 +0000 (21:30 +0200)]
Spelling fixes s/autentication/authentication/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/integrety/integrity/
Mathieu Parent [Thu, 29 Aug 2019 19:30:07 +0000 (21:30 +0200)]
Spelling fixes s/integrety/integrity/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/Unsuported/Unsupported/
Mathieu Parent [Thu, 29 Aug 2019 19:29:58 +0000 (21:29 +0200)]
Spelling fixes s/Unsuported/Unsupported/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/sepcific/specific/
Mathieu Parent [Thu, 29 Aug 2019 19:29:47 +0000 (21:29 +0200)]
Spelling fixes s/sepcific/specific/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/negotatie/negotiate/
Mathieu Parent [Thu, 29 Aug 2019 19:29:40 +0000 (21:29 +0200)]
Spelling fixes s/negotatie/negotiate/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/advertisment/advertisement/
Mathieu Parent [Thu, 29 Aug 2019 19:29:03 +0000 (21:29 +0200)]
Spelling fixes s/advertisment/advertisement/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/tempates/templates/
Mathieu Parent [Thu, 29 Aug 2019 19:28:41 +0000 (21:28 +0200)]
Spelling fixes s/tempates/templates/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/depencies/dependencies/
Mathieu Parent [Thu, 29 Aug 2019 19:11:18 +0000 (21:11 +0200)]
Spelling fixes s/depencies/dependencies/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoSpelling fixes s/containter/container/
Mathieu Parent [Thu, 29 Aug 2019 19:34:23 +0000 (21:34 +0200)]
Spelling fixes s/containter/container/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agodsdb: Remove OpenLDAP backend complexity from samba_dsdb module
Andrew Bartlett [Mon, 11 Mar 2019 22:46:42 +0000 (11:46 +1300)]
dsdb: Remove OpenLDAP backend complexity from samba_dsdb module

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Aug 30 09:50:25 UTC 2019 on sn-devel-184

4 years agodsdb: Remove OpenLDAP backend complexity from partitions module
Andrew Bartlett [Mon, 11 Mar 2019 22:46:28 +0000 (11:46 +1300)]
dsdb: Remove OpenLDAP backend complexity from partitions module

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
4 years agodsdb: Remove LDAP backend specific modules from extended_dn_out
Andrew Bartlett [Mon, 11 Mar 2019 22:43:15 +0000 (11:43 +1300)]
dsdb: Remove LDAP backend specific modules from extended_dn_out

This simplifies the code considerably.  A real attempt at an LDAP backend would need to implement this
module in a similar way to LDB.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
4 years agosamba-tool domain provision: Remove experimental OpenLDAP support
Andrew Bartlett [Mon, 11 Mar 2019 21:52:24 +0000 (10:52 +1300)]
samba-tool domain provision: Remove experimental OpenLDAP support

This feature has long been obsolete, remaining only in the hope
that it might be revived in the future.

Specifically, in 2011 the S4 OpenLDAP backend HOWTO was removed:

 commit 1d46325af8541ea467c79cd86e65f93ce6a14ff4
 Author: Andrew Bartlett <abartlet@samba.org>
 Date:   Wed Apr 27 22:42:29 2011 +1000

     Remove outdated S4 OpenLDAP backend HOWTO.

There is a project to revive this, hosted here:

https://github.com/Symas/samba
and
https://github.com/Symas/samba_overlays

However discussions at SambaXP with Nadezhda Ivanova
indicate a new approach with slapd being started by Samba
and taught to read native Samba ldb files is more likely
in the short term.

This has the advantage that Samba's provision and offline
tooling would not need to change, with the solution looking
more like how BIND9_DLZ has access to the Samba DB.

If any of this is required then reverting these patches will be
the least of the difficulties in bringing this to production.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
4 years agosefltest: Remove tests for obsolete OpenLDAP backend
Andrew Bartlett [Mon, 11 Mar 2019 22:49:01 +0000 (11:49 +1300)]
sefltest: Remove tests for obsolete OpenLDAP backend

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
4 years agoselftest: Remove obsolete LDAP backend hooks from selftest.pl et al
Andrew Bartlett [Mon, 11 Mar 2019 22:41:12 +0000 (11:41 +1300)]
selftest: Remove obsolete LDAP backend hooks from selftest.pl et al

This removes some quite complex logic that has not been used since the LDAP
backend project was shelved prior to 2011.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
4 years agopaged results: tests without server_sort ctrl
Aaron Haslett [Thu, 28 Feb 2019 22:04:05 +0000 (11:04 +1300)]
paged results: tests without server_sort ctrl

On windows, adding or modifying a record during a paged results search
behaves differently depending on whether or not you supply server_sort
control.  This patch adds tests and documentation.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Aug 30 08:26:21 UTC 2019 on sn-devel-184

4 years agorpc samr: EnumDomainUsers perf improvement
Aaron Haslett [Tue, 13 Aug 2019 06:14:12 +0000 (18:14 +1200)]
rpc samr: EnumDomainUsers perf improvement

EnumDomainUsers currently takes too long, significantly slowing down
calls to winbind's getpwent which is a core unix API. The time is taken
up by a GUID lookup for every record in the cached result. The advantages
of this approach are:
1. It meets the specified requirement that if a record yet to be returned
by a search in progress (with a resume handle) is deleted or
modified, the future returned results correctly reflect the
new changes.
2. Memory footprint for a search in progress is only 16 bytes per record.

But, those benefits are not worth the significant performance hit
of the lookups, so this patch changes the function to run the search
and cache the RIDs and names of all records matching the search when
the request is made. This makes the memory footprint around 200 bytes
per record or up to 2MB per concurrent search for a 100k user database.
The speedup achieved by this change is around 50%, and in tandem with
some winbindd improvements as part of the same task has achieved around
15x speedup for getpwent.

The lost specification compliance is unlikely to cause a problem for any
known usage of this RPC call.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
4 years agoreplace/setxattr: correctly use our flags on Darwin
Björn Jacke [Sat, 2 Mar 2019 04:47:20 +0000 (05:47 +0100)]
replace/setxattr: correctly use our flags on Darwin

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): Thu Aug 29 17:10:32 UTC 2019 on sn-devel-184

4 years agoxattr/setxattr: fix flag support on AIX
Björn Jacke [Sat, 2 Mar 2019 04:39:54 +0000 (05:39 +0100)]
xattr/setxattr: fix flag support on AIX

AIX requires the flags to be 0, we need to do those checks manually.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
4 years agoreplace/setxattr: set reasonable and unified errno value in case the EA value was...
Björn Jacke [Sat, 2 Mar 2019 04:01:28 +0000 (05:01 +0100)]
replace/setxattr: set reasonable and unified errno value in case the EA value was too big

FreeBSD and AIX already set errno to ENAMETOOLONG, this is what we should map
other platforms also to to finally map to the correct NT error code also.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
4 years agos3/libsmb: clang: Fix 'Value stored during initialization is never read'
Noel Power [Fri, 9 Aug 2019 15:06:20 +0000 (16:06 +0100)]
s3/libsmb: clang: Fix 'Value stored during initialization is never read'

Fixes:

source3/libsmb/cliquota.c:340:11: warning: Value stored to 'status' during its initialization is never read <--[clang]
        NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
                 ^~~~~~   ~~~~~~~~~~~~~~~~~~~~~~
source3/libsmb/cliquota.c:357:4: warning: Value stored to 'status' is never read <--[clang]
                        status = NT_STATUS_OK;
                        ^        ~~~~~~~~~~~~
2 warnings generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed Aug 28 03:06:42 UTC 2019 on sn-devel-184

4 years agos3/libsmb: clang: Fix 'Value stored to 'status' is never read'
Noel Power [Fri, 9 Aug 2019 15:02:18 +0000 (16:02 +0100)]
s3/libsmb: clang: Fix 'Value stored to 'status' is never read'

Fixes:

source3/libsmb/cliquota.c:340:11: warning: Value stored to 'status' during its initialization is never read <--[clang]
        NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
                 ^~~~~~   ~~~~~~~~~~~~~~~~~~~~~~
/home/samba/samba/source3/libsmb/cliquota.c:357:4: warning: Value stored to 'status' is never read <--[clang]
                        status = NT_STATUS_OK;
                        ^        ~~~~~~~~~~~~
2 warnings generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'warning: Value stored to 'status' is never read'
Noel Power [Fri, 9 Aug 2019 15:00:35 +0000 (16:00 +0100)]
s3/libsmb: clang: Fix 'warning: Value stored to 'status' is never read'

Fixes:

source3/libsmb/namequery.c:2938:2: warning: Value stored to 'status' is never read <--[clang]
        status = NT_STATUS_OK;
        ^        ~~~~~~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 2nd function call argument is an uninitialized value
Noel Power [Thu, 8 Aug 2019 14:24:16 +0000 (15:24 +0100)]
s3/libsmb: clang: Fix 2nd function call argument is an uninitialized value

source3/libsmb/namequery.c:2719:11: warning: 2nd function call argument is an uninitialized value <--[clang]
                                        if (!convert_ss2service(return_iplist,
                                             ^
source3/libsmb/namequery.c:2733:10: warning: 2nd function call argument is an uninitialized value <--[clang]
                                if (!convert_ss2service(return_iplist,
                                     ^
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix Value set during its initialization is never read
Noel Power [Thu, 8 Aug 2019 14:18:03 +0000 (15:18 +0100)]
s3/libsmb: clang: Fix Value set during its initialization is never read

Fixes:
source3/libsmb/namequery.c:2584:11: warning: Value stored to 'status' during its initialization is never read  <--[clang]
        NTSTATUS status = NT_STATUS_UNSUCCESSFUL;

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix: The right operand of '<' is a garbage value
Noel Power [Thu, 8 Aug 2019 14:15:11 +0000 (15:15 +0100)]
s3/libsmb: clang: Fix: The right operand of '<' is a garbage value

Fixes:

source3/libsmb/namequery.c:977:12: warning: The right operand of '<' is a garbage value <--[clang]
        for (i=0;i<count;i++) {
                  ^~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libads: clang: Fix Value stored to 'canon_princ' is never read
Noel Power [Thu, 8 Aug 2019 14:06:28 +0000 (15:06 +0100)]
s3/libads: clang: Fix Value stored to 'canon_princ' is never read

Fixes:

source3/libads/kerberos.c:192:2: warning: Value stored to 'canon_princ' is never read <--[clang]
        canon_princ = me;
        ^             ~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix value stored to 'offset' is never read
Noel Power [Thu, 8 Aug 2019 13:59:55 +0000 (14:59 +0100)]
s3/libsmb: clang: Fix value stored to 'offset' is never read

Fixes:

source3/libsmb/nmblib.c:479:2: warning: Value stored to 'offset' is never read <--[clang]
        offset += 10+rec->rdlength;
        ^         ~~~~~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'warning: Assigned value is garbage or undefined '
Noel Power [Wed, 14 Aug 2019 13:53:01 +0000 (14:53 +0100)]
s3/libsmb: clang: Fix 'warning: Assigned value is garbage or undefined '

Fixes:

source3/libsmb/clireadwrite.c:1259:17: warning: Assigned value is garbage or undefined <--[clang]
        state->written += written;
                       ^  ~~~~~~~

source3/libsmb/clireadwrite.c:1722:14: warning: The left operand of '>' is a garbage value <--[clang]
        if (written > expected) {
            ~~~~~~~ ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed Aug 28 00:22:49 UTC 2019 on sn-devel-184

4 years agos3/libsmb: clang: Fix 'Assigned value is garbage or undefined'
Noel Power [Wed, 14 Aug 2019 13:51:23 +0000 (14:51 +0100)]
s3/libsmb: clang: Fix 'Assigned value is garbage or undefined'

Fixes:

source3/libsmb/clireadwrite.c:851:10: warning: Assigned value is garbage or undefined <--[clang]
                *nread = ret;
                       ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix '2nd func call argument is uninitalized value'
Noel Power [Wed, 14 Aug 2019 13:49:51 +0000 (14:49 +0100)]
s3/libsmb: clang: Fix '2nd func call argument is uninitalized value'

Fixes:

source3/libsmb/clireadwrite.c:805:2: warning: 2nd function call argument is an uninitialized value <--[clang]
        memcpy(state->buf, buf, received);
        ^                  ~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'The left operand of '>' or '<' is a garbage value
Noel Power [Wed, 14 Aug 2019 13:42:06 +0000 (14:42 +0100)]
s3/libsmb: clang: Fix 'The left operand of '>' or '<' is a garbage value

Fixes:

source3/libsmb/clireadwrite.c:601:15: warning: The left operand of '>' is a garbage value <--[clang]
        if (received > expected) {

source3/libsmb/clireadwrite.c:799:16: warning: The left operand of '<' is a garbage value <--[clang]
        if ((received < 0) || (received > state->buflen)) {
             ~~~~~~~~ ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agolibcli/auth: clang: Fix 'Value stored to 'status' is never read'
Noel Power [Wed, 14 Aug 2019 13:31:07 +0000 (14:31 +0100)]
libcli/auth: clang: Fix 'Value stored to 'status' is never read'

Fixes:

libcli/auth/netlogon_creds_cli.c:2622:2: warning: Value stored to 'status' is never read <--[clang]
        status = netlogon_creds_decrypt_samlogon_validation(&state->tmp_creds,
        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'Value stored to 'p' is never read' warning
Noel Power [Wed, 14 Aug 2019 13:28:16 +0000 (14:28 +0100)]
s3/libsmb: clang: Fix 'Value stored to 'p' is never read' warning

Fixes:

source3/libsmb/clirap2.c:1197:4: warning: Value stored to 'p' is never read <--[clang]
                        p += rap_getstringp(frame,
                        ^    ~~~~~~~~~~~~~~~~~~~~~
source3/libsmb/clirap2.c:1525:5: warning: Value stored to 'p' is never read <--[clang]
                                p += rap_getstring(frame,
                                ^    ~~~~~~~~~~~~~~~~~~~~
source3/libsmb/clirap2.c:2358:3: warning: Value stored to 'p' is never read <--[clang]
                p += WORDSIZE;            /* skip rsize */
                ^    ~~~~~~~~
source3/libsmb/clirap2.c:2380:3: warning: Value stored to 'p' is never read <--[clang]
                p += rap_getstringp(frame,
                ^    ~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'Value stored to 'ea_size' is never read'
Noel Power [Wed, 14 Aug 2019 11:21:32 +0000 (12:21 +0100)]
s3/libsmb: clang: Fix 'Value stored to 'ea_size' is never read'

Fixes:

source3/libsmb/clifile.c:5290:2: warning: Value stored to 'ea_size' is never read <--[clang]
        ea_size = (size_t)IVAL(rdata,0);
        ^         ~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'Assigned value is garbage or undefined'
Noel Power [Wed, 14 Aug 2019 10:59:05 +0000 (11:59 +0100)]
s3/libsmb: clang: Fix 'Assigned value is garbage or undefined'

Fixes:

source3/libsmb/clifile.c:4898:10: warning: Assigned value is garbage or undefined <--[clang]
                *bsize = (uint64_t)old_bsize;
                       ^ ~~~~~~~~~~~~~~~~~~~
source3/libsmb/clifile.c:4901:10: warning: Assigned value is garbage or undefined <--[clang]
                *total = (uint64_t)old_total;
                       ^ ~~~~~~~~~~~~~~~~~~~
source3/libsmb/clifile.c:4904:10: warning: Assigned value is garbage or undefined <--[clang]
                *avail = (uint64_t)old_avail;

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'The left operand of '&' is a garbage value'
Noel Power [Wed, 14 Aug 2019 10:40:46 +0000 (11:40 +0100)]
s3/libsmb: clang: Fix 'The left operand of '&' is a garbage value'

Fixes:

source3/libsmb/clifile.c:3108:26: warning: The left operand of '&' is a garbage value <--[clang]
            (cr.file_attributes & FILE_ATTRIBUTE_DIRECTORY))
             ~~~~~~~~~~~~~~~~~~ ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agos3/libsmb: clang: Fix 'The left operand of '!=' is a garbage value'
Noel Power [Wed, 14 Aug 2019 10:25:19 +0000 (11:25 +0100)]
s3/libsmb: clang: Fix 'The left operand of '!=' is a garbage value'

Fixes:

source3/libsmb/clifile.c:789:15: warning: The left operand of '!=' is a garbage value <--[clang]
        if (num_data != 100) {
            ~~~~~~~~ ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
4 years agoctdb-recoverd: Fix typo in previous fix
Martin Schwenke [Tue, 27 Aug 2019 02:13:51 +0000 (12:13 +1000)]
ctdb-recoverd: Fix typo in previous fix

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Aug 27 15:29:11 UTC 2019 on sn-devel-184

4 years agoWHATSNEW: Document new GnuTLS 3.4.7 requirement
Andrew Bartlett [Mon, 26 Aug 2019 02:39:40 +0000 (14:39 +1200)]
WHATSNEW: Document new GnuTLS 3.4.7 requirement

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Aug 27 06:01:50 UTC 2019 on sn-devel-184

4 years agos3:smbd: Prefer AES-GCM over AES-CCM with GnuTLS
Andreas Schneider [Fri, 15 Mar 2019 15:28:12 +0000 (16:28 +0100)]
s3:smbd: Prefer AES-GCM over AES-CCM with GnuTLS

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Adapted to remove Samba AES support

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
4 years agolibcli:smb: Prefer AES-GCM over AES-CCM with GnuTLS
Andreas Schneider [Fri, 15 Mar 2019 15:25:28 +0000 (16:25 +0100)]
libcli:smb: Prefer AES-GCM over AES-CCM with GnuTLS

The AES-GCM implementation in GnuTLS is faster.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Adapted to remove Samba AES support

Signed-off-by: Andrew Bartlett <abartlet@samba.org>