[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via acd081a70d2 build: Remove unused check for SHA1_Update and SHA1_RENAME_NEEDED via 11b3c6826d1 Remove redundant check and fallback for AES CMAC 128 as we now require GnuTLS 3.6.13 via 95c843de926 crypto: Remove aesni-intel accelerated AES crypto functions via a21ca8ac9ca Remove rudundent check and fallback for AES CFB8 as we now require GnuTLS 3.6.13 via a815eead841 Remove rudundent check/workaround for buggy GnuTLS 3.5.2 as we now require GnuTLS 3.6.13 via 055318d7e74 Remove rudundent check for gnutls_pkcs7_get_embedded_data_oid as we now require GnuTLS 3.6.13 via c630afa3c9c Remove check for gnutls_set_default_priority_append as it unused via eda1022b599 crypto: Rely on GnuTLS 3.6.13 and gnutls_pbkdf2() via 702bcbfc39a build: Set minimum required GnuTLS version to 3.6.13 from 358631ce331 smbd: Merge openat_pathref_fsp_nosymlink() into _internal() https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit acd081a70d215483548d57a56b30918ed08e999a Author: Andrew Bartlett Date: Fri Jun 30 22:41:51 2023 +1200 build: Remove unused check for SHA1_Update and SHA1_RENAME_NEEDED I can not find the code that required this, even in the history. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Jun 30 14:59:46 UTC 2023 on atb-devel-224 commit 11b3c6826d19d60937f75825075fc5eb67385e11 Author: Andrew Bartlett Date: Thu Oct 27 11:09:19 2022 +1300 Remove redundant check and fallback for AES CMAC 128 as we now require GnuTLS 3.6.13 This allows us to remove a lot of conditionally compiled code and so know with more certainly that our tests are covering our code-paths. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider commit 95c843de926ec46ab9d52ae8394250f93ee843c4 Author: Andrew Bartlett Date: Thu Oct 27 11:05:17 2022 +1300 crypto: Remove aesni-intel accelerated AES crypto functions These will shortly be unused as we will rely on GnuTLS for all AES cryptography now that we require GnuTLS 3.6.13 Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider commit a21ca8ac9ca5305cae59d1733fffb38ce6bebb8f Author: Andrew Bartlett Date: Thu Oct 27 10:53:53 2022 +1300 Remove rudundent check and fallback for AES CFB8 as we now require GnuTLS 3.6.13 This allows us to remove a lot of conditionally compiled code and so know with more certaintly that our tests are covering our codepaths. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider commit a815eead8414fe6e8e30ca4befa7c295497e Author: Andrew Bartlett Date: Thu Oct 27 10:48:42 2022 +1300 Remove rudundent check/workaround for buggy GnuTLS 3.5.2 as we now require GnuTLS 3.6.13 Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider commit 055318d7e74f3b1aad305334fa4fe5fd4b593e75 Author: Andrew Bartlett Date: Thu Oct 27 10:47:27 2022 +1300 Remove rudundent check for gnutls_pkcs7_get_embedded_data_oid as we now require GnuTLS 3.6.13 Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider commit c630afa3c9c7cdf927c2f55c63bdf418c5cf6900 Author: Andrew Bartlett Date: Thu Oct 27 10:03:48 2022 +1300 Remove check for gnutls_set_default_priority_append as it unused This became unused with d30865014569f4b9a1261d9f0c40bc4fc98f883e Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider commit eda1022b599a98edcd8da3440bfa7675f987cec0 Author: Andrew Bartlett Date: Thu Oct 27 09:57:06 2022 +1300 crypto: Rely on GnuTLS 3.6.13 and gnutls_pbkdf2() This removes a lot of inline #ifdef and means this feature is always tested. We can do this as we have chosen GnuTLS 3.6.13 as the new minimum version. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider commit 702bcbfc39af77c1ab94a7f13fe7a50784646e5a Author: Andrew Bartlett Date: Thu Oct 27 09:51:09 2022 +1300 build: Set minimum required GnuTLS version to 3.6.13 Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- Summary of changes: auth/gensec/schannel.c | 40 - lib/crypto/aes.c | 329 --- lib/crypto/aes.h | 634 - lib/crypto/aes_cmac_128.c | 121 - lib/crypto/aes_cmac_128.h | 47 - lib/crypto/aes_cmac_128_test.c | 119 - lib/crypto/aes_test.h | 67 - lib/crypto/aesni.h | 66 -
[SCM] Samba Shared Repository - branch v4-17-test updated
The branch, v4-17-test has been updated via c366a064c8f pidl: avoid py compile issues with --pidl-developer from 88c24655c79 s3:utils: smbget fix a memory leak https://git.samba.org/?p=samba.git;a=shortlog;h=v4-17-test - Log - commit c366a064c8fc72af5a531de3f567253bcbb86d7a Author: Douglas Bagnall Date: Fri Dec 9 10:36:30 2022 +1300 pidl: avoid py compile issues with --pidl-developer We get these warnings-as-errors: librpc/gen_ndr/py_netlogon.c:61903:53: error: stray ‘\’ in program 61903 |PyErr_Format(PyExc_TypeError, "Expected type %s",\ // Parse::Pidl::Samba4::Python::ConvertObjectFromPythonData lib/Parse/Pidl/Samba4/Python.pm:2005 but the '\' is unnecessary and unconventional anyway, since we're in a function argument list. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15404 Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Fri Feb 3 03:27:54 UTC 2023 on atb-devel-224 (cherry picked from commit e26a01a48c4a6ca6f9424ced72eda68e6eb1e7e3) Autobuild-User(v4-17-test): Jule Anger Autobuild-Date(v4-17-test): Fri Jun 30 12:44:07 UTC 2023 on sn-devel-184 --- Summary of changes: pidl/lib/Parse/Pidl/Samba4/Python.pm | 8 1 file changed, 4 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 5c4d3e8e087..03a901cc24d 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -1747,7 +1747,7 @@ sub ConvertObjectFromPythonData($$;$$) $self->pidl("}"); $self->pidl("if (test_var > uint_max) {"); $self->indent; - $self->pidl("PyErr_Format(PyExc_OverflowError, \"Expected type %s within range 0 - %llu, got %llu\",\\"); + $self->pidl("PyErr_Format(PyExc_OverflowError, \"Expected type %s within range 0 - %llu, got %llu\","); $self->pidl(" PyLong_Type.tp_name, uint_max, test_var);"); $self->pidl($fail); $self->deindent; @@ -1756,7 +1756,7 @@ sub ConvertObjectFromPythonData($$;$$) $self->deindent; $self->pidl("} else {"); $self->indent; - $self->pidl("PyErr_Format(PyExc_TypeError, \"Expected type %s\",\\"); + $self->pidl("PyErr_Format(PyExc_TypeError, \"Expected type %s\","); $self->pidl(" PyLong_Type.tp_name);"); $self->pidl($fail); $self->deindent; @@ -1786,7 +1786,7 @@ sub ConvertObjectFromPythonData($$;$$) $self->pidl("}"); $self->pidl("if (test_var < int_min || test_var > int_max) {"); $self->indent; - $self->pidl("PyErr_Format(PyExc_OverflowError, \"Expected type %s within range %lld - %lld, got %lld\",\\"); + $self->pidl("PyErr_Format(PyExc_OverflowError, \"Expected type %s within range %lld - %lld, got %lld\","); $self->pidl(" PyLong_Type.tp_name, int_min, int_max, test_var);"); $self->pidl($fail); $self->deindent; @@ -1795,7 +1795,7 @@ sub ConvertObjectFromPythonData($$;$$) $self->deindent; $self->pidl("} else {"); $self->indent; - $self->pidl("PyErr_Format(PyExc_TypeError, \"Expected type %s\",\\"); + $self->pidl("PyErr_Format(PyExc_TypeError, \"Expected type %s\","); $self->pidl(" PyLong_Type.tp_name);"); $self->pidl($fail); $self->deindent; -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 358631ce331 smbd: Merge openat_pathref_fsp_nosymlink() into _internal() via f19f3c1a16c smbd: Factor out create_open_symlink_err() via e4422b2ff33 smbd: Remove "atname" from smbd_dirptr_get_entry()'s mode_fn via 88f32b783c4 smbd: Rewrite smbd_dirptr_get_entry() via e9040fa42a5 smbd: Factor out full_path_from_dirfsp_at_basename() via b4698f3b13e smbd: Introduce dir_fname helper var in smbd_dirptr_get_entry() via 16ae3c2e26d smbd: Modernize two DEBUG statements via f56ceab909a smbd: Pass name and stat_ex to dos_mode_msdfs() via 614debf4d96 smbd: Pass "char*" to dos_mode_from_name() via 0958afd297d smbd: Pass stat_ex and files_struct to dos_mode_from_sbuf() via e9363926dc8 smbd: Extend openat_pathref_dirfsp_nosymlink() via eb2978f55cb test: skip the open-eintr test via 7a71e275e44 smbd: Fully fill in fsp in openat_pathref_fsp_nosymlink_internal() via 03660778f07 smbd: Lift up conn->cwd from openat_pathref_dirfsp_nosymlink() via 8b651a68471 smbd: Factor out full_path_extend() via 58f7ec12bd4 smbd: Add read_symlink_reparse() via 633d71eeffc smbd: Apply some README.Coding to dos_mode_from_sbuf() via 08e881aeb58 smbd: Simplify dos_mode_msdfs() via c921cdf87e6 smbd: Move dos_mode_from_name() up in dosmode.c via 290ca547a89 smbd: Slightly simplify smbd_dirptr_get_entry() from 7b6cedf5385 .gitlab-ci:bootstrap: remove ubuntu1804*, add debian12, upgrade opensuse 15.5 https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 358631ce3314f952e9b205fc69f0a5b6e067e242 Author: Volker Lendecke Date: Fri Jun 30 11:18:42 2023 +0200 smbd: Merge openat_pathref_fsp_nosymlink() into _internal() Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Jun 30 11:43:46 UTC 2023 on atb-devel-224 commit f19f3c1a16c8df9caaee14f176f8e332d3d6a2bc Author: Volker Lendecke Date: Fri Jun 30 10:57:58 2023 +0200 smbd: Factor out create_open_symlink_err() 3 times talloc_zero() and read_symlink_reparse() makes a nice separate function. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit e4422b2ff33c5d49df23da1686a7be636779d5ab Author: Volker Lendecke Date: Sat Jun 24 10:02:05 2023 +0200 smbd: Remove "atname" from smbd_dirptr_get_entry()'s mode_fn Unused. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit 88f32b783c43573ec3e2a82a640ad082e996aae2 Author: Volker Lendecke Date: Thu Jun 22 15:12:25 2023 +0200 smbd: Rewrite smbd_dirptr_get_entry() Move filtering of entries, in particular symlinks, fully into smbd_dirptr_get_entry(). Before, this was hidden in magic code inside openat_pathref_fsp() and the mode_fn()s. Changing anything file open code led to changes in very distant code paths because of unforeseen consequences to directory listing. This change centralizes the decision what directory entries to show into smbd_dirptr_get_entry(). It uses openat_pathref_fsp_nosymlink() without any symlink magic. It might need some tweaking when we also want to show other special files, but this will hopefully be easier. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit e9040fa42a5539c8bdbf41bd99db74759e966e88 Author: Volker Lendecke Date: Thu Jun 22 14:46:01 2023 +0200 smbd: Factor out full_path_from_dirfsp_at_basename() Will use this logic in the next patch Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit b4698f3b13e9e7560e6fa42fca81333d527c25cc Author: Volker Lendecke Date: Thu Jun 22 11:33:05 2023 +0200 smbd: Introduce dir_fname helper var in smbd_dirptr_get_entry() Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit 16ae3c2e26dbb1af45df99db373d671f83babd45 Author: Volker Lendecke Date: Thu Jun 22 11:19:29 2023 +0200 smbd: Modernize two DEBUG statements Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit f56ceab909a23e1bd114c4a914d5c1a10626022a Author: Volker Lendecke Date: Tue Jun 20 16:28:19 2023 +0200 smbd: Pass name and stat_ex to dos_mode_msdfs() We'll use it in a place without a smb_fname soon. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit 614debf4d9670b5919ac614d03b834c2859dc454 Author: Volker Lendecke Date: Tue Jun 20 16:22:30 2023 +0200 smbd: Pass "char*" to dos_mode_from_name() Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme commit 0958afd297df458ee6d10f9531708b77fc65fb60 Author: Volker Lendecke Date: Tue Jun 20 16:19:50 2023 +0200 smbd: Pass stat_ex and files_struct to
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 7b6cedf5385 .gitlab-ci:bootstrap: remove ubuntu1804*, add debian12, upgrade opensuse 15.5 from d720eb2c083 third_party: Update socket_wrapper to version 1.4.2 https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 7b6cedf5385e0313acc8629c8c9238309fab64c0 Author: Stefan Metzmacher Date: Thu Nov 17 16:14:27 2022 +0100 .gitlab-ci:bootstrap: remove ubuntu1804*, add debian12, upgrade opensuse 15.5 Signed-off-by: Stefan Metzmacher [abart...@samba.org Use Debian 11 for the 32 bit host as the compile currently fails - just exits without information - mid-way on Debian 12] Signed-off-by: Andrew Bartlett Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Fri Jun 30 08:51:17 UTC 2023 on atb-devel-224 --- Summary of changes: .gitlab-ci-main.yml| 34 +++--- bootstrap/.gitlab-ci.yml | 18 +-- bootstrap/config.py| 30 - bootstrap/generated-dists/Vagrantfile | 31 - .../{centos7 => debian11-32bit}/Dockerfile | 2 +- .../{debian11 => debian11-32bit}/bootstrap.sh | 0 .../{f37mit120 => debian11-32bit}/locale.sh| 0 .../{debian11 => debian11-32bit}/packages.yml | 0 .../{centos7 => debian12-32bit}/Dockerfile | 2 +- .../{ubuntu2204 => debian12-32bit}/bootstrap.sh| 1 - .../{fedora37 => debian12-32bit}/locale.sh | 0 .../{ubuntu2204 => debian12-32bit}/packages.yml| 1 - .../{fedora37 => debian12}/Dockerfile | 4 +- .../{ubuntu2204 => debian12}/bootstrap.sh | 1 - .../{opensuse154 => debian12}/locale.sh| 0 .../{ubuntu2204 => debian12}/packages.yml | 1 - bootstrap/generated-dists/f37mit120/bootstrap.sh | 126 - bootstrap/generated-dists/f37mit120/packages.yml | 110 -- bootstrap/generated-dists/fedora37/bootstrap.sh| 123 bootstrap/generated-dists/fedora37/packages.yml| 110 -- bootstrap/generated-dists/opensuse154/Dockerfile | 29 - .../{f37mit120 => opensuse155}/Dockerfile | 4 +- .../{opensuse154 => opensuse155}/bootstrap.sh | 0 .../{centos7 => opensuse155}/locale.sh | 0 .../{opensuse154 => opensuse155}/packages.yml | 0 bootstrap/sha1sum.txt | 2 +- 26 files changed, 85 insertions(+), 544 deletions(-) copy bootstrap/generated-dists/{centos7 => debian11-32bit}/Dockerfile (90%) copy bootstrap/generated-dists/{debian11 => debian11-32bit}/bootstrap.sh (100%) rename bootstrap/generated-dists/{f37mit120 => debian11-32bit}/locale.sh (100%) copy bootstrap/generated-dists/{debian11 => debian11-32bit}/packages.yml (100%) copy bootstrap/generated-dists/{centos7 => debian12-32bit}/Dockerfile (90%) copy bootstrap/generated-dists/{ubuntu2204 => debian12-32bit}/bootstrap.sh (97%) rename bootstrap/generated-dists/{fedora37 => debian12-32bit}/locale.sh (100%) copy bootstrap/generated-dists/{ubuntu2204 => debian12-32bit}/packages.yml (97%) rename bootstrap/generated-dists/{fedora37 => debian12}/Dockerfile (92%) copy bootstrap/generated-dists/{ubuntu2204 => debian12}/bootstrap.sh (97%) rename bootstrap/generated-dists/{opensuse154 => debian12}/locale.sh (100%) copy bootstrap/generated-dists/{ubuntu2204 => debian12}/packages.yml (97%) delete mode 100755 bootstrap/generated-dists/f37mit120/bootstrap.sh delete mode 100644 bootstrap/generated-dists/f37mit120/packages.yml delete mode 100755 bootstrap/generated-dists/fedora37/bootstrap.sh delete mode 100644 bootstrap/generated-dists/fedora37/packages.yml delete mode 100644 bootstrap/generated-dists/opensuse154/Dockerfile rename bootstrap/generated-dists/{f37mit120 => opensuse155}/Dockerfile (91%) rename bootstrap/generated-dists/{opensuse154 => opensuse155}/bootstrap.sh (100%) copy bootstrap/generated-dists/{centos7 => opensuse155}/locale.sh (100%) rename bootstrap/generated-dists/{opensuse154 => opensuse155}/packages.yml (100%) Changeset truncated at 500 lines: diff --git a/.gitlab-ci-main.yml b/.gitlab-ci-main.yml index 798192f9b04..779eedb8255 100644 --- a/.gitlab-ci-main.yml +++ b/.gitlab-ci-main.yml @@ -47,7 +47,7 @@ variables: # Set this to the contents of bootstrap/sha1sum.txt # which is generated by bootstrap/template.py --render # - SAMBA_CI_CONTAINER_TAG: cf0a5476a4f13d449a7542d01d225dc2aef2a333 + SAMBA_CI_CONTAINER_TAG: 190a74ee9628f298961d890ba37fcc7d213daae2 # # We use the ubuntu2204 image as default as # it matches what we have on atb-devel-224 @@ -58,12 +58,12 @@ variables: # Please see the samba-o3 sections at the end of this file! # We should run that for each