[SCM] Samba Shared Repository - branch master updated

2023-03-09 Thread Andrew Bartlett
The branch, master has been updated
   via  78635d55fb8 audit_logging: Use `json_int_t` instead of `int` for 
`json_add_int` value type
   via  35aa7db6414 audit_logging:tests: Add big_int test for `json_add_int`
   via  b3146763a45 lib:util: prefer mallinfo2() over mallinfo() if 
available
  from  f55a357c6b9 dsgetdcname: do not assume local system uses IPv4

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


- Log -
commit 78635d55fb819d422d0c4c32bb63aab95f735e4b
Author: Li Yuxuan 
Date:   Thu Mar 9 11:11:28 2023 +0800

audit_logging: Use `json_int_t` instead of `int` for `json_add_int` value 
type

Functions like `add_lock_to_json` and `add_profile_item_to_json` pass
some values to `json_add_int` with `intmax_t` types. This may cause
arithmetic overflow when the value grows very fast, such as the
read_bytes profiling data.
Use `json_add_int` instead of `int` to avoid the overflow.

RN: Make json output show intmax_t value properly

Signed-off-by: Li Yuxuan 
Reviewed-by: Douglas Bagnall 
Reviewed-by: Andrew Bartlett 

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Thu Mar  9 21:33:43 UTC 2023 on atb-devel-224

commit 35aa7db641484b33ff55a7d8fe2d21c6b411f847
Author: Li Yuxuan 
Date:   Tue Mar 7 10:52:47 2023 +0800

audit_logging:tests: Add big_int test for `json_add_int`

Show that `json_add_int` can't handle value larger than int32 due to
overflow.

Add knownfail.

Signed-off-by: Li Yuxuan 
Reviewed-by: Douglas Bagnall 
Reviewed-by: Andrew Bartlett 

commit b3146763a45d3a52ae1f669ad1b37155f67a16e6
Author: Dmitry Antipov 
Date:   Tue Feb 7 18:09:15 2023 +0300

lib:util: prefer mallinfo2() over mallinfo() if available

Prefer mallinfo2() with 'size_t' fields over deprecated
mallinfo() (with 'int' fields which may wrap around zero
and so be inaccurate on a 64-bit system) and move relevant
checks to lib/util/wscript_configure because mallinfo()
is not used beyond 'samba-util'.

Suggested-by: Andreas Schneider 
Signed-off-by: Dmitry Antipov 
Reviewed-by: Volker Lendecke 
Reviewed-by: Andrew Bartlett 

---

Summary of changes:
 lib/audit_logging/audit_logging.c| 14 +++-
 lib/audit_logging/audit_logging.h|  2 +-
 lib/audit_logging/tests/audit_logging_test.c | 11 +-
 lib/util/talloc_report_printf.c  | 33 
 lib/util/wscript_configure   | 12 ++
 source3/wscript  | 12 --
 6 files changed, 60 insertions(+), 24 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/audit_logging/audit_logging.c 
b/lib/audit_logging/audit_logging.c
index 43acf9512c9..3ab14b2a187 100644
--- a/lib/audit_logging/audit_logging.c
+++ b/lib/audit_logging/audit_logging.c
@@ -385,31 +385,33 @@ bool json_is_invalid(const struct json_object *object)
  *-1 the operation failed
  *
  */
-int json_add_int(struct json_object *object, const char *name, const int value)
+int json_add_int(struct json_object *object, const char *name, const 
json_int_t value)
 {
int ret = 0;
json_t *integer = NULL;
 
if (json_is_invalid(object)) {
-   DBG_ERR("Unable to add int [%s] value [%d], "
+   DBG_ERR("Unable to add int [%s] value [%jd], "
"target object is invalid\n",
name,
-   value);
+   (intmax_t)value);
return JSON_ERROR;
}
 
integer = json_integer(value);
if (integer == NULL) {
-   DBG_ERR("Unable to create integer value [%s] value [%d]\n",
+   DBG_ERR("Unable to create integer value [%s] value [%jd]\n",
name,
-   value);
+   (intmax_t)value);
return JSON_ERROR;
}
 
ret = json_object_set_new(object->root, name, integer);
if (ret != 0) {
json_decref(integer);
-   DBG_ERR("Unable to add int [%s] value [%d]\n", name, value);
+   DBG_ERR("Unable to add int [%s] value [%jd]\n",
+   name,
+   (intmax_t)value);
}
return ret;
 }
diff --git a/lib/audit_logging/audit_logging.h 
b/lib/audit_logging/audit_logging.h
index 49576ece68d..eb7c103944d 100644
--- a/lib/audit_logging/audit_logging.h
+++ b/lib/audit_logging/audit_logging.h
@@ -58,7 +58,7 @@ _WARN_UNUSED_RESULT_ bool json_is_invalid(const struct 
json_object *object);
 
 _WARN_UNUSED_RESULT_ int json_add_int(struct json_object *object,
  const char *name,
- const int 

[SCM] Samba Shared Repository - branch master updated

2023-03-09 Thread Jeremy Allison
The branch, master has been updated
   via  f55a357c6b9 dsgetdcname: do not assume local system uses IPv4
   via  9bb8795aebd libsmb: Convert cli_posix_stat_send/recv() to modern 
conventions
   via  cc4a2d4edc7 librpc: Simplify dcerpc_default_transport_endpoint()
   via  43b34b01597 libcli: Shrink .data segment by 43264 bytes
   via  e6a03c04a76 libcli: Shrink .data segment by 43264 bytes
   via  9e00acd0d0f build: Fix a long line
   via  dec4d5aa9d7 rpcd: Use size_t for walking an array
   via  4814b95dbcf smbd: Directly initialize a "fsp1"
   via  62651ace1cb smbd: DBG_DEBUG raw create contexts received from the 
client
   via  bbcc9b326eb lib: Add dump_data_addbuf()
   via  e5d1527f74a lib: Move the dump_data_pw() prototype to the other 
dump_data_* ones
   via  0195f8bc9a9 lib: Fix a typo
   via  8faccb6e195 lib: Remove a talloc_stackframe()
   via  35976fc2ffd libcli/util: Avoid an includes.h
   via  d76ec8519e0 libcli/security: Avoid includes.h
   via  04379c0bcfd lib: librpc/gen_ndr/security.h needs DATA_BLOB
   via  2ac2c055614 lib: Fix whitespace
   via  4d8a396c4c1 smbd: Remove a variable only ever set to NULL
   via  8926770ae94 smbd: Fix a typo
   via  1a52b30d921 vfs: Replace a "== false" with a "!"
   via  efbfa9fc44b libsmb: Avoid a duplicate memset(.., 0, ..);
   via  da93b648abc Fix a typo
   via  bf6599fecea samba-tool: Ensure modifying GPO increments GPT.INI vers
   via  ce29f55129f samba-tool: Test that modifying GPO increments GPT.INI 
vers
   via  42517d576ac samba-tool: Subclass GPOCommand for calling 
samdb_connect
  from  403598b3076 s4-dsdb:tests: Correctly handle LdbError

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


- Log -
commit f55a357c6b9387883a7628a1b1083263a10121a6
Author: Nathaniel W. Turner 
Date:   Fri Sep 23 16:37:46 2022 -0400

dsgetdcname: do not assume local system uses IPv4

Return the first IPv4 and the first IPv6 address found for each DC.
This is slightly inelegant, but resolves an issue where IPv6-only
systems were unable to run "net ads join" against domain controllers
that have both A and  records in DNS.

While this impacts performance due to the additional LDAP ping attempts,
in practice an attempt to connect to an IPv6 address on an IPv4-only
system (or vice versa) will fail immediately with
NT_STATUS_NETWORK_UNREACHABLE, and thus the performance impact should be
negligible.

The alternative approach, using an smb.conf setting to control whether
the logic prefers a single address of one family or the other ends up
being a bit awkward, as it pushes the problem onto admins and tools such
as "realm join" that want to dynamically synthesize an smb.conf on the
fly.

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

Signed-off-by: Nathaniel W. Turner 
Reviewed-by: Jeremy Allison 
Reviewed-by: David Mulder 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Thu Mar  9 19:12:15 UTC 2023 on atb-devel-224

commit 9bb8795aebdaad10713c791e45f11e3a4b94d5ff
Author: Volker Lendecke 
Date:   Thu Feb 16 17:35:24 2023 +0100

libsmb: Convert cli_posix_stat_send/recv() to modern conventions

It's unusual these days to pass output arguments in the _send
function, instead save the result in the _state struct

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit cc4a2d4edc756e79ad91b10086df910e512f9c7a
Author: Volker Lendecke 
Date:   Mon Feb 20 18:48:20 2023 +0100

librpc: Simplify dcerpc_default_transport_endpoint()

We don't need strcmp for just 1 byte

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 43b34b015979fd250171b7610db7d55f6b2ac7cf
Author: Volker Lendecke 
Date:   Tue Feb 28 20:53:59 2023 +0100

libcli: Shrink .data segment by 43264 bytes

A case statement only references const strings, pointers in an array
need to be relocated at exec() time.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit e6a03c04a765e4d6c41b137d365a1e64f6285a8e
Author: Volker Lendecke 
Date:   Tue Feb 28 20:53:59 2023 +0100

libcli: Shrink .data segment by 43264 bytes

A case statement only references const strings, pointers in an array
need to be relocated at exec() time.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 9e00acd0d0fc5419d920e743426dd2b310d45083
Author: Volker Lendecke 
Date:   Tue Feb 28 20:27:30 2023 +0100

build: Fix a long line

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit dec4d5aa9d72adf5b955086e5622259f085ba811
Author: Volker Lendecke 
Date:   Thu Feb 23 10:00:10 2023 +0100

rpcd: Use size_t for walking an array

Signed-off-by: 

[SCM] Samba Shared Repository - branch v4-17-stable updated

2023-03-09 Thread Jule Anger
The branch, v4-17-stable has been updated
   via  46e771776b2 VERSION: Disable GIT_SNAPSHOT for the 4.17.6 release.
   via  418af42a77f WHATSNEW: Add release notes for Samba 4.17.6.
   via  ec6a057e690 s3: smbd: Fix fsp/fd leak when looking up a 
non-existent stream name on a file.
   via  460bc1897a3 s3: tests: Add new test_stream_dir_rename.sh test.
   via  1caac94128e s3: provision: Add new streams_xattr_nostrict share - 
needs "strict rename = no".
   via  bfbb854d746 rpcd: With npa->need_idle_server we can have more than 
256 servers
   via  743d7600fba rpcd: Do blocking connects to local pipes
   via  32a6eb37fbd rpcd: Increase listening queue
   via  529e76a51df torture3: test rpc scalability
   via  f07883a09ea librpc: Remove unused sync rpc_transport_np_init()
   via  dbb9cb6bfad librpc: Make rpc_pipe_open_np() public and async
   via  f4556250b87 lib:util: File descriptor being closed repeatedly.
   via  0b8713e342c vfs_ceph: use fsp_get_pathref_fd in ceph fstatat and 
close vfs calls
   via  79c06ede865 mdssvc: fix kMDScopeArray parsing
   via  cee7ecee5ca s4-drsuapi: Give an error that matches windows on 
destination_dsa_guid lookup failure
   via  c7658589fa5 s4-drsuapi: Clarify role of 
drs_security_access_check_nc_root()
   via  dee90673865 s4-rpc_server: Pre-check destination_dsa_guid in 
GetNCChanges for validity
   via  be0cb189202 s4-drsuapi: Use samdb_get_ntds_obj_by_guid() to find 
RODC in REPL_SECRET
   via  fba94e5d504 s4-dsdb: Require that the NTDS object is an nTDSDSA 
objectclass
   via  bcb89bd81d4 s4-dsdb: Split samdb_get_ntds_obj_by_guid() out of 
samdb_is_rodc()
   via  a78c2094ff5 s4-rpc_server/drsuapi: Return correct error code for an 
invalid DN to EXOP_REPL_OBJ/EXOP_REPL_OBJ
   via  764702f788c s4-drs: Make drs_ObjectIdentifier_to_dn() safer and 
able to cope with DummyDN values
   via  7c32d3d75aa s4-dsdb: rework drs_ObjectIdentifier_to_dn() into 
drs_ObjectIdentifier_to_dn_and_nc_root()
   via  85cc464195b s4-rpc_server/drsuapi: Use 
dsdb_normalise_dn_and_find_nc_root()
   via  96adf5afc01 s4-dsdb: Add dsdb_normalise_dn_and_find_nc_root() 
around dsdb_find_nc_root()
   via  deac11ab428 s4-dsdb: Add better debugging to 
dsdb_objects_have_same_nc()
   via  4413c277ef0 s4-dsdb: Make dsdb_find_nc_root() first try and use 
DSDB_CONTROL_CURRENT_PARTITION_OID
   via  24adeb3ad11 s4-dsdb: Schedule SD propegation only after successful 
rename
   via  fedd276dbf1 s4-selftest/drs: Confirm GetNCChanges REPL_SECRET works 
with a DummyDN and real GUID
   via  f6ebb660e54 s4-selftest/drs: Confirm GetNCChanges full replication 
works with a DummyDN and real GUID
   via  fcc25f6baf8 s4-selftest/drs: Confirm GetNCChanges REPL_OBJ works 
with a DummyDN and real GUID
   via  b0bbea3fdcd s4-selftest/drs Allow re-run of DRS tests after failed 
cleanup
   via  2cb965046b8 s4-selftest/drs Allow some DRS tests to operate against 
an IP
   via  a81be075983 s4-selftest/drs Add test of expected return code for 
invaid DNs in GetNCChanges
   via  00d1f6223f2 s4-dsdb: Add tests of SamDB.get_nc_root()
   via  ddf64adea13 s3/lib: Prevent use after free of messaging_ctdb_fde_ev 
structs
   via  e12898ff72c VERSION: Bump version up to Samba 4.17.6...
  from  420b9e67870 VERSION: Disable GIT_SNAPSHOT for the 4.17.5 release.

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


- Log -
---

Summary of changes:
 VERSION|   2 +-
 WHATSNEW.txt   |  65 -
 lib/util/util_file.c   |   9 +-
 python/samba/tests/dsdb.py | 122 +
 selftest/target/Samba3.pm  |   5 +
 source3/lib/messages_ctdb.c|  19 ++
 source3/librpc/idl/rpc_host.idl|   2 +-
 source3/modules/vfs_ceph.c |   7 +-
 source3/rpc_client/cli_pipe.c  | 132 +++---
 source3/rpc_client/cli_pipe.h  |  13 +
 source3/rpc_client/local_np.c  |  14 +-
 source3/rpc_client/rpc_transport.h |   3 -
 source3/rpc_client/rpc_transport_np.c  |  31 ---
 source3/rpc_server/mdssvc/mdssvc.c |   6 +
 source3/rpc_server/rpc_host.c  |   2 +-
 source3/rpc_server/rpc_worker.c|   2 +-
 source3/script/tests/test_stream_dir_rename.sh |  72 ++
 source3/selftest/tests.py  |   4 +
 source3/smbd/filename.c|  21 ++
 source3/torture/proto.h|   1 +
 source3/torture/test_rpc_scale.c   | 301 ++
 source3/torture/torture.c  |   4 +
 source3/torture/wscript_build 

[SCM] Samba Website Repository - branch master updated

2023-03-09 Thread Jule Anger
The branch, master has been updated
   via  29a5b7a NEWS[4.17.6]: Samba 4.17.6 Available for Download
  from  7bb035d Add 4.18.0

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


- Log -
commit 29a5b7a802d3a11db5bc6eeedf0b04a68051fe8e
Author: Jule Anger 
Date:   Thu Mar 9 10:20:04 2023 +0100

NEWS[4.17.6]: Samba 4.17.6 Available for Download

Signed-off-by: Jule Anger 

---

Summary of changes:
 history/header_history.html  |  1 +
 history/samba-4.17.6.html| 60 
 posted_news/20230309-092051.4.17.6.body.html | 13 +
 posted_news/20230309-092051.4.17.6.headline.html |  3 ++
 4 files changed, 77 insertions(+)
 create mode 100644 history/samba-4.17.6.html
 create mode 100644 posted_news/20230309-092051.4.17.6.body.html
 create mode 100644 posted_news/20230309-092051.4.17.6.headline.html


Changeset truncated at 500 lines:

diff --git a/history/header_history.html b/history/header_history.html
index 5d3a4c2..1cedfd7 100755
--- a/history/header_history.html
+++ b/history/header_history.html
@@ -10,6 +10,7 @@


samba-4.18.0
+   samba-4.17.6
samba-4.17.5
samba-4.17.4
samba-4.17.3
diff --git a/history/samba-4.17.6.html b/history/samba-4.17.6.html
new file mode 100644
index 000..e09a752
--- /dev/null
+++ b/history/samba-4.17.6.html
@@ -0,0 +1,60 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;>
+http://www.w3.org/1999/xhtml;>
+
+Samba 4.17.6 - Release Notes
+
+
+Samba 4.17.6 Available for Download
+
+https://download.samba.org/pub/samba/stable/samba-4.17.6.tar.gz;>Samba 
4.17.6 (gzipped)
+https://download.samba.org/pub/samba/stable/samba-4.17.6.tar.asc;>Signature
+
+
+https://download.samba.org/pub/samba/patches/samba-4.17.5-4.17.6.diffs.gz;>Patch
 (gzipped) against Samba 4.17.5
+https://download.samba.org/pub/samba/patches/samba-4.17.5-4.17.6.diffs.asc;>Signature
+
+
+
+   ==
+   Release Notes for Samba 4.17.6
+   March 09, 2023
+   ==
+
+
+This is the latest stable release of the Samba 4.17 release series.
+
+
+Changes since 4.17.5
+
+
+o  Jeremy Allison j...@samba.org
+   * BUG 15314: streams_xattr is creating unexpected locks on folders.
+
+o  Andrew Bartlett abart...@samba.org
+   * BUG 10635: Use of the Azure AD Connect cloud sync tool is now supported 
for
+ password hash synchronisation, allowing Samba AD Domains to synchronise
+ passwords with this popular cloud environment.
+
+o  Ralph Boehme s...@samba.org
+   * BUG 15299: Spotlight doesnt work with latest macOS Ventura.
+
+o  Volker Lendecke v...@samba.org
+   * BUG 15310: New samba-dcerpc architecture does not scale gracefully.
+
+o  John Mulligan jmulli...@redhat.com
+   * BUG 15307: vfs_ceph incorrectly uses fsp_get_io_fd() instead of
+ fsp_get_pathref_fd() in close and fstat.
+
+o  Noel Power noel.po...@suse.com
+   * BUG 15293: With clustering enabled samba-bgqd can core dump due to use
+ after free.
+
+o  baixiangcpp baixiang...@gmail.com
+   * BUG 15311: fd_load() function implicitly closes the fd where it should 
not.
+
+
+
+
+
+
diff --git a/posted_news/20230309-092051.4.17.6.body.html 
b/posted_news/20230309-092051.4.17.6.body.html
new file mode 100644
index 000..0b007b3
--- /dev/null
+++ b/posted_news/20230309-092051.4.17.6.body.html
@@ -0,0 +1,13 @@
+
+09 March 2023
+Samba 4.17.6 Available for Download
+
+This is the latest stable release of the Samba 4.17 release series.
+
+
+The uncompressed tarball has been signed using GnuPG (ID AA99442FB680B620).
+The source code can be https://download.samba.org/pub/samba/stable/samba-4.17.6.tar.gz;>downloaded
 now.
+A https://download.samba.org/pub/samba/patches/samba-4.17.5-4.17.6.diffs.gz;>patch
 against Samba 4.17.5 is also available.
+See https://www.samba.org/samba/history/samba-4.17.6.html;>the 
release notes for more info.
+
+
diff --git a/posted_news/20230309-092051.4.17.6.headline.html 
b/posted_news/20230309-092051.4.17.6.headline.html
new file mode 100644
index 000..a7cb296
--- /dev/null
+++ b/posted_news/20230309-092051.4.17.6.headline.html
@@ -0,0 +1,3 @@
+
+ 09 March 2023 Samba 4.17.6 Available for 
Download
+


-- 
Samba Website Repository



[SCM] Samba Shared Repository - annotated tag samba-4.17.6 created

2023-03-09 Thread Jule Anger
The annotated tag, samba-4.17.6 has been created
at  fb93f7130edf3f5a61007cfd77baa6c601b689fc (tag)
   tagging  46e771776b2d15497201416d0b287452effefc97 (commit)
  replaces  samba-4.17.5
 tagged by  Jule Anger
on  Thu Mar 9 10:19:43 2023 +0100

- Log -
samba: tag release samba-4.17.6
-BEGIN PGP SIGNATURE-

iQIyBAABCgAdFiEEgfXigyvSVFoYl7cTqplEL7aAtiAFAmQJpK8ACgkQqplEL7aA
tiABIA/1Euk393waLPWffBVcEoYw3Pfu6xUMeBqOY/g2dPorrXbNWcoANuizut75
ZbONWnSeBTKlwWZADlq50JWLaqiTiC32L8uOuTVqatlZ5ER1lIMIlkKvmUbQMuN0
bN2f3eHy9gp2OQ/8CEhuZ9uevkKd0x90/kx3RGVA2FRnFOOr/dbM2q2tVsQNGlJy
iIGFdJ7SU7ZfvBC6RoRKxVmvDdl3CKtYDJ+UXxSRaUaWKzMnWRR2/iK4tvZ/MKfv
v3H+POmIB/mK+gNf+5WadEe/vC5+jxJGHINcGr4wr/5cUgtETYuo2jGr++ANhxzw
b2iL4u+O+IsL/fRL06fB+8vjKIP7I1S6Bv5TOOp4O0JaIg4c9B77EddcWYYscYeH
s+Lv4Jj/c3CGiZF0VGoE10x0lOBi9OE7Mx6NHcGpBJ9BXWly79BWc+bXEmwR9duB
0bP4fWLu97MPkacmnrYulZ8NSEJOAgBVBbrTYXRQ9YkBq4eI9j+NTFw/NSkb48Ys
2z9Q1XnJUTN1xJn/nDWYpjqWW1HsG/LzVZkTI7iZ7F6WgWrOz5GiYXkSc6yq3nJx
rVfqBTqgbJU5XcLibvXtSYVqdUdfCj6pZ0yCNIUlihyxAuIH1Lgrl3jS7h5OExq5
jd2Ktm7h6qp5iwSKM4gwsT7b07V8gZW/ouUy6lrTyn/v++z4fA==
=PoS4
-END PGP SIGNATURE-

Andrew Bartlett (21):
  s4-dsdb: Add tests of SamDB.get_nc_root()
  s4-selftest/drs Add test of expected return code for invaid DNs in 
GetNCChanges
  s4-selftest/drs Allow some DRS tests to operate against an IP
  s4-selftest/drs Allow re-run of DRS tests after failed cleanup
  s4-selftest/drs: Confirm GetNCChanges REPL_OBJ works with a DummyDN and 
real GUID
  s4-selftest/drs: Confirm GetNCChanges full replication works with a 
DummyDN and real GUID
  s4-selftest/drs: Confirm GetNCChanges REPL_SECRET works with a DummyDN 
and real GUID
  s4-dsdb: Schedule SD propegation only after successful rename
  s4-dsdb: Make dsdb_find_nc_root() first try and use 
DSDB_CONTROL_CURRENT_PARTITION_OID
  s4-dsdb: Add better debugging to dsdb_objects_have_same_nc()
  s4-dsdb: Add dsdb_normalise_dn_and_find_nc_root() around 
dsdb_find_nc_root()
  s4-rpc_server/drsuapi: Use dsdb_normalise_dn_and_find_nc_root()
  s4-dsdb: rework drs_ObjectIdentifier_to_dn() into 
drs_ObjectIdentifier_to_dn_and_nc_root()
  s4-drs: Make drs_ObjectIdentifier_to_dn() safer and able to cope with 
DummyDN values
  s4-rpc_server/drsuapi: Return correct error code for an invalid DN to 
EXOP_REPL_OBJ/EXOP_REPL_OBJ
  s4-dsdb: Split samdb_get_ntds_obj_by_guid() out of samdb_is_rodc()
  s4-dsdb: Require that the NTDS object is an nTDSDSA objectclass
  s4-drsuapi: Use samdb_get_ntds_obj_by_guid() to find RODC in REPL_SECRET
  s4-rpc_server: Pre-check destination_dsa_guid in GetNCChanges for validity
  s4-drsuapi: Clarify role of drs_security_access_check_nc_root()
  s4-drsuapi: Give an error that matches windows on destination_dsa_guid 
lookup failure

Jeremy Allison (3):
  s3: provision: Add new streams_xattr_nostrict share - needs "strict 
rename = no".
  s3: tests: Add new test_stream_dir_rename.sh test.
  s3: smbd: Fix fsp/fd leak when looking up a non-existent stream name on a 
file.

John Mulligan (1):
  vfs_ceph: use fsp_get_pathref_fd in ceph fstatat and close vfs calls

Jule Anger (3):
  VERSION: Bump version up to Samba 4.17.6...
  WHATSNEW: Add release notes for Samba 4.17.6.
  VERSION: Disable GIT_SNAPSHOT for the 4.17.6 release.

Noel Power (1):
  s3/lib: Prevent use after free of messaging_ctdb_fde_ev structs

Ralph Boehme (1):
  mdssvc: fix kMDScopeArray parsing

Volker Lendecke (6):
  librpc: Make rpc_pipe_open_np() public and async
  librpc: Remove unused sync rpc_transport_np_init()
  torture3: test rpc scalability
  rpcd: Increase listening queue
  rpcd: Do blocking connects to local pipes
  rpcd: With npa->need_idle_server we can have more than 256 servers

baixiangcpp (1):
  lib:util: File descriptor being closed repeatedly.

---


-- 
Samba Shared Repository



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

2023-03-09 Thread Jule Anger
The branch, v4-17-test has been updated
   via  1b775335f57 VERSION: Bump version up to Samba 4.17.7...
   via  46e771776b2 VERSION: Disable GIT_SNAPSHOT for the 4.17.6 release.
   via  418af42a77f WHATSNEW: Add release notes for Samba 4.17.6.
  from  ec6a057e690 s3: smbd: Fix fsp/fd leak when looking up a 
non-existent stream name on a file.

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


- Log -
commit 1b775335f57ef3a939dc1d042e1e6d247fbd6850
Author: Jule Anger 
Date:   Thu Mar 9 10:15:41 2023 +0100

VERSION: Bump version up to Samba 4.17.7...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Jule Anger 

commit 46e771776b2d15497201416d0b287452effefc97
Author: Jule Anger 
Date:   Thu Mar 9 10:15:09 2023 +0100

VERSION: Disable GIT_SNAPSHOT for the 4.17.6 release.

Signed-off-by: Jule Anger 

commit 418af42a77fabfefa278fc49aca4a7fb7353d2ab
Author: Jule Anger 
Date:   Thu Mar 9 10:14:38 2023 +0100

WHATSNEW: Add release notes for Samba 4.17.6.

Signed-off-by: Jule Anger 

---

Summary of changes:
 VERSION  |  2 +-
 WHATSNEW.txt | 65 ++--
 2 files changed, 64 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index f0536949cf6..73ab7109fa3 100644
--- a/VERSION
+++ b/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=4
 SAMBA_VERSION_MINOR=17
-SAMBA_VERSION_RELEASE=6
+SAMBA_VERSION_RELEASE=7
 
 
 # If a official release has a serious bug  #
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 5eb0a0281c1..865697ce109 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,3 +1,65 @@
+   ==
+   Release Notes for Samba 4.17.6
+   March 09, 2023
+   ==
+
+
+This is the latest stable release of the Samba 4.17 release series.
+
+
+Changes since 4.17.5
+
+
+o  Jeremy Allison 
+   * BUG 15314: streams_xattr is creating unexpected locks on folders.
+
+o  Andrew Bartlett 
+   * BUG 10635: Use of the Azure AD Connect cloud sync tool is now supported 
for
+ password hash synchronisation, allowing Samba AD Domains to synchronise
+ passwords with this popular cloud environment.
+
+o  Ralph Boehme 
+   * BUG 15299: Spotlight doesn't work with latest macOS Ventura.
+
+o  Volker Lendecke 
+   * BUG 15310: New samba-dcerpc architecture does not scale gracefully.
+
+o  John Mulligan 
+   * BUG 15307: vfs_ceph incorrectly uses fsp_get_io_fd() instead of
+ fsp_get_pathref_fd() in close and fstat.
+
+o  Noel Power 
+   * BUG 15293: With clustering enabled samba-bgqd can core dump due to use
+ after free.
+
+o  baixiangcpp 
+   * BUG 15311: fd_load() function implicitly closes the fd where it should 
not.
+
+
+###
+Reporting bugs & Development Discussion
+###
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical:matrix.org matrix room, or
+#samba-technical IRC channel on irc.libera.chat.
+
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.1 and newer product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+==
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+==
+
+
+Release notes for older releases follow:
+
==
Release Notes for Samba 4.17.5
   January 26, 2023
@@ -78,8 +140,7 @@ database (https://bugzilla.samba.org/).
 ==
 
 
-Release notes for older releases follow:
-
+--
==
Release Notes for Samba 4.17.4
  December 15, 2022


-- 
Samba Shared Repository