[SCM] Samba Shared Repository - branch v4-18-test updated

2023-02-06 Thread Jule Anger
The branch, v4-18-test has been updated
   via  550faa99fc8 ldb: version 2.7.1
   via  74f6ca2ca90 tevent: version 0.14.1
   via  2d07ab93e55 tevent: remove the already removed tevent_port.c also 
from the build
   via  d14e1c8bef5 replace: remove unused configure checks for 
port_create()
   via  9fbff9d422a replace: provide PIPE_BUF on GNU/Hurd
  from  c98812ce65e WHATSNEW: fix typo

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-18-test


- Log -
commit 550faa99fc81520ada220fe1fd972984522c14f2
Author: Stefan Metzmacher 
Date:   Wed Feb 1 20:05:13 2023 +0100

ldb: version 2.7.1

- Build fix for Solaris, after removal
  of tevent ports backend (bug #15298)

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

Signed-off-by: Stefan Metzmacher 

Autobuild-User(v4-18-test): Jule Anger 
Autobuild-Date(v4-18-test): Mon Feb  6 13:55:46 UTC 2023 on atb-devel-224

commit 74f6ca2ca907de1e83fdc0ad091947372fbf78cc
Author: Stefan Metzmacher 
Date:   Wed Feb 1 15:31:32 2023 +

tevent: version 0.14.1

- Build fix for GNU/Hurd
- Build fix for Solaris, after removal
  of ports backend (bug #15298)

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Thu Feb  2 18:27:08 UTC 2023 on atb-devel-224

(cherry picked from commit d80f28b081e515e32a480daf80b42cf782447a9c)

commit 2d07ab93e55b9f05466dfe50790095e1c3d629e1
Author: Stefan Metzmacher 
Date:   Wed Feb 1 13:31:38 2023 +

tevent: remove the already removed tevent_port.c also from the build

This fixes a regression introduced by 
147a317b7b92e60c5940d875dbd7aef19824834e.

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

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Jeremy Allison 
(cherry picked from commit ae77854a44094df6c9291271504c9733e717674f)

commit d14e1c8bef5a073a6ba92b64aa14a4060bf59809
Author: Stefan Metzmacher 
Date:   Wed Feb 1 13:33:42 2023 +

replace: remove unused configure checks for port_create()

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

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Jeremy Allison 
(cherry picked from commit 488aa2275847162755dcbfc75cb2549299aa2aeb)

commit 9fbff9d422a55a7987a2664a5d0ac17c75a252d5
Author: Samuel Thibault 
Date:   Sun Aug 2 18:01:05 2020 +

replace: provide PIPE_BUF on GNU/Hurd

There is no hardcoded PIPE_BUF pipe limitation on GNU/Hurd, but POSIX
provides a minimum value that we can use.

Signed-off-by: Samuel Thibault 
Reviewed-by: Andrew Bartlett 
Reviewed-by: Stefan Metzmacher 
(cherry picked from commit 15b1afc9175e045b3b28523309fb3b28a3fab484)

---

Summary of changes:
 lib/ldb/ABI/{ldb-2.6.1.sigs => ldb-2.7.1.sigs}   |  0
 lib/ldb/ABI/{pyldb-util-2.1.0.sigs => pyldb-util-2.7.1.sigs} |  0
 lib/ldb/wscript  |  2 +-
 lib/replace/system/network.h | 12 
 lib/replace/system/select.h  |  4 
 lib/replace/wscript  |  5 -
 lib/tevent/ABI/{tevent-0.14.0.sigs => tevent-0.14.1.sigs}|  0
 lib/tevent/wscript   |  5 +
 8 files changed, 14 insertions(+), 14 deletions(-)
 copy lib/ldb/ABI/{ldb-2.6.1.sigs => ldb-2.7.1.sigs} (100%)
 copy lib/ldb/ABI/{pyldb-util-2.1.0.sigs => pyldb-util-2.7.1.sigs} (100%)
 copy lib/tevent/ABI/{tevent-0.14.0.sigs => tevent-0.14.1.sigs} (100%)


Changeset truncated at 500 lines:

diff --git a/lib/ldb/ABI/ldb-2.6.1.sigs b/lib/ldb/ABI/ldb-2.7.1.sigs
similarity index 100%
copy from lib/ldb/ABI/ldb-2.6.1.sigs
copy to lib/ldb/ABI/ldb-2.7.1.sigs
diff --git a/lib/ldb/ABI/pyldb-util-2.1.0.sigs 
b/lib/ldb/ABI/pyldb-util-2.7.1.sigs
similarity index 100%
copy from lib/ldb/ABI/pyldb-util-2.1.0.sigs
copy to lib/ldb/ABI/pyldb-util-2.7.1.sigs
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index 95aee9be6d3..03076e6 100644
--- a/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -2,7 +2,7 @@
 
 APPNAME = 'ldb'
 # For Samba 4.18.x !
-VERSION = '2.7.0'
+VERSION = '2.7.1'
 
 import sys, os
 
diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h
index a84bfd453b1..1721d65a51a 100644
--- a/lib/replace/system/network.h
+++ b/lib/replace/system/network.h
@@ -91,6 +91,8 @@
 #include 
 #endif
 
+#include 
+
 #ifndef HAVE_SOCKLEN_T
 #define HAVE_SOCKLEN_T
 typedef int socklen_t;
@@ -342,6 +344,16 @@ typedef unsigned short int sa_family_t;
 # endif
 #endif
 
+#ifndef PIPE_BUF
+# ifdef __GNU__
+  /*
+   * GNU/Hurd does not have such hardcoded limitations. But it has to support
+   * the minimum POSIX value anyway.
+   */
+#  define 

[SCM] Samba Shared Repository - annotated tag ldb-2.7.1 created

2023-02-06 Thread Stefan Metzmacher
The annotated tag, ldb-2.7.1 has been created
at  342e0820c0507e07d404ee53e26c1a00b40321d3 (tag)
   tagging  550faa99fc81520ada220fe1fd972984522c14f2 (commit)
  replaces  samba-4.18.0rc2
 tagged by  Stefan Metzmacher
on  Mon Feb 6 16:54:23 2023 +0100

- Log -
ldb: tag release ldb-2.7.1
-BEGIN PGP SIGNATURE-

iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmPhIq8ACgkQR5ORYRMI
QCVfQQf9Hped34JEx+8OVlnZ5MlUk+cP0N+LwqY6A0riBU9zQdirIceUwfcJlUXp
dkdkrhfzHhDRpLI0IJD7bhxcdPiCR7VK2Q/g+hPoFiyOZwy18lqLYFaEqWgrTmKV
ibqAvkypFStKBotjUx6KdI3Quow8HCLmlbNNWZgEn+u/m8/SYyNozQ95uAyswl+O
i00fy29F7KQRDfqJYjHOyNdGwQY1FyJEBDll53/S6aetB5SU52xjyszee+QODWnA
UncwOQWcDS17tkK2I/EBqJWYaSQLMzIXQVrSD82wGAYRw5DdjaUT+MLXTXU9zoT3
k/u+EnwrWXTeI1G7ixX+4a/++XKw8A==
=BQLB
-END PGP SIGNATURE-

Jule Anger (2):
  VERSION: Bump version up to Samba 4.18.0rc3...
  WHATSNEW: fix typo

Samuel Thibault (1):
  replace: provide PIPE_BUF on GNU/Hurd

Stefan Metzmacher (4):
  replace: remove unused configure checks for port_create()
  tevent: remove the already removed tevent_port.c also from the build
  tevent: version 0.14.1
  ldb: version 2.7.1

---


-- 
Samba Shared Repository



[SCM] Samba Shared Repository - branch master updated

2023-02-06 Thread Jeremy Allison
The branch, master has been updated
   via  024571a7a85 waf: Add support for MemorySanitizer
   via  b3d7df58a03 s3:torture: Remove unused variable
   via  e57fa881199 s3:utils: Remove unused variable
   via  a94adedd0ef s3:netapi: Remove unused variables
   via  5447d7fb75f s3:modules: Initialize pointer with NULL
   via  c462a0b78da s4:modules: Move structs with dynamic arrays to end of 
struct
   via  ea723fb7099 s3:modules: Ignore -Wunused-but-set-variable for 
autogenerated code
   via  54413a49f5a s3:printing: Remove unused variable
   via  a77c56e4ed6 s3:printing: Remove trailing whitespaces in vlp.c
   via  1379b0e13c0 lib:ldb-samba: Correctly handle search scope
   via  981dcccfd9d nsswitch: Fix getting data out of pam_get_data()
   via  d7bc74afcc1 s4:samdb: Remove unused variable
   via  e0b46f3ca64 s4:samdb: Remove trailing whitespaces
   via  8b7fcfa5771 s3:winbind: Remove unused variable
   via  f266e9e2dca s3:rpcsrv:eventlog: Remove unused variable
   via  91e7351db39 s3:smbd: Don't assign variable to itself
   via  bd5b093cc02 s3:libsmb: Remove unused variable 'i'
   via  2cc5b0745a9 auth/credentials: Fix unitialized data
   via  7f123bbd4ed auth/credentials: Fix trailing whitespaces
  from  e26a01a48c4 pidl: avoid py compile issues with --pidl-developer

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 024571a7a85a7c4a81e0ee6bf9f228477275365e
Author: Andreas Schneider 
Date:   Fri Feb 3 13:43:16 2023 +0100

waf: Add support for MemorySanitizer

This currently only works with binaries. As there is no shared library for
MSAN it only is statically linked against binaries. This means if we have 
e.g.
a python script trying to load ldb, it will fail with undefined symbols.

Signed-off-by: Andreas Schneider 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Mon Feb  6 23:49:04 UTC 2023 on atb-devel-224

commit b3d7df58a03e2b5419431cde510ae85c25d909c2
Author: Andreas Schneider 
Date:   Fri Feb 3 20:37:58 2023 +0100

s3:torture: Remove unused variable

source3/torture/test_smb1_dfs.c:3264:11: error: variable 'accessmode' set 
but
not used [-Werror,-Wunused-but-set-variable]
uint16_t accessmode = 0;
 ^

Signed-off-by: Andreas Schneider 
Reviewed-by: Jeremy Allison 

commit e57fa88119920c5608a5096e5beaa910d117c644
Author: Andreas Schneider 
Date:   Fri Feb 3 20:35:20 2023 +0100

s3:utils: Remove unused variable

source3/utils/log2pcaphex.c:138:13: error: variable 'i' set but not used
[-Werror,-Wunused-but-set-variable]
static int i = 0;
   ^

Signed-off-by: Andreas Schneider 
Reviewed-by: Jeremy Allison 

commit a94adedd0ef335b1ee037cc2e666a5b39d57d3bc
Author: Andreas Schneider 
Date:   Fri Feb 3 20:32:54 2023 +0100

s3:netapi: Remove unused variables

source3/lib/netapi/tests/netfile.c:40:22: error: variable 'i2' set but not 
used
[-Werror,-Wunused-but-set-variable]
  struct FILE_INFO_2 *i2 = NULL;
  ^
source3/lib/netapi/tests/netfile.c:41:22: error: variable 'i3' set but not 
used
[-Werror,-Wunused-but-set-variable]
  struct FILE_INFO_3 *i3 = NULL;
  ^

Signed-off-by: Andreas Schneider 
Reviewed-by: Jeremy Allison 

commit 5447d7fb75fc00b17cde4dd0ecccd89e8b6f8545
Author: Andreas Schneider 
Date:   Fri Feb 3 20:29:33 2023 +0100

s3:modules: Initialize pointer with NULL

source3/modules/vfs_glusterfs.c:827:6: error: variable 'glfd' is used
uninitialized whenever 'if' condition is false
[-Werror,-Wsometimes-uninitialized]
  if (pglfd == NULL) {
  ^
source3/modules/vfs_glusterfs.c:853:6: note: uninitialized use occurs here
  if (glfd == NULL) {
  ^~~~
source3/modules/vfs_glusterfs.c:827:2: note: remove the 'if' if its 
condition is
always true
  if (pglfd == NULL) {
  ^~~
source3/modules/vfs_glusterfs.c:763:17: note: initialize the variable 
'glfd' to
silence this warning
  glfs_fd_t *glfd;
 ^
  = NULL

Signed-off-by: Andreas Schneider 
Reviewed-by: Jeremy Allison 

commit c462a0b78da674514a70896fbb6f08295808015b
Author: Andreas Schneider 
Date:   Fri Feb 3 15:27:22 2023 +0100

s4:modules: Move structs with dynamic arrays to end of struct

source3/modules/vfs_io_uring.c:70:22: error: field 'cqe' with variable sized
type 'struct io_uring_cqe' not at the end of a struct or class is a GNU
extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
struct io_uring_cqe cqe;
^

Signed-off-by: Andreas Schneider 
Revie