[SCM] Samba Shared Repository - branch v4-17-test updated
The branch, v4-17-test has been updated via 8011cea58e3 rpcd_mdssvc: initialize POSIX locking via 0c633912732 smbXsrv_tcon: avoid storing temporary (invalid!) records. via fd477e4ff6f net_ads: fill ads->auth.realm from c->creds via 45a264bf5b6 testprogs/blackbox: add test_net_ads_search_server.sh from d8fa74a176e smbd: Fix case normalization in for directories https://git.samba.org/?p=samba.git;a=shortlog;h=v4-17-test - Log - commit 8011cea58e34d1b348671ee7884bd68026568af3 Author: Ralph Boehme Date: Thu Apr 6 10:16:46 2023 +0200 rpcd_mdssvc: initialize POSIX locking Otherwise the posix_pending_close_db is NULL and we crash when trying to close a file descriptor: #4 /usr/lib64/samba/libdbwrap-samba4.so(dbwrap_parse_record+0xe) [0x7fbc5d05c8ae] #5 /usr/lib64/samba/libdbwrap-samba4.so(dbwrap_fetch_int32+0x38) [0x7fbc5d05d438] #6 /usr/lib64/samba/libsmbd-base-samba4.so(fd_close_posix+0x7b) [0x7fbc5e276f8b] #7 /usr/lib64/samba/libsmbd-base-samba4.so(+0x57900) [0x7fbc5e28a900] #8 /usr/lib64/samba/libsmbd-base-samba4.so(fd_close+0x68) [0x7fbc5e2b7ea8] #9 /usr/lib64/samba/libsmbd-base-samba4.so(+0x62608) [0x7fbc5e295608] #10 /usr/lib64/samba/libtalloc-samba4.so(_talloc_free+0x51b) [0x7fbc5d9f439b] #11 /usr/lib64/samba/vfs/fruit.so(+0xcac2) [0x7fbc45fcdac2] #12 /usr/lib64/samba/vfs/fruit.so(+0xcbdd) [0x7fbc45fcdbdd] #13 /usr/lib64/samba/vfs/fruit.so(+0xf603) [0x7fbc45fd0603] #14 /usr/lib64/samba/libsmbd-base-samba4.so(+0x56375) [0x7fbc5e289375] #15 /usr/lib64/samba/vfs/nothingtoseeherereally.so(+0x196c) [0x7fbc467f996c] #16 /usr/lib64/samba/vfs/streams_xattr.so(+0x51fc) [0x7fbc461e71fc] #17 /usr/lib64/samba/libsmbd-base-samba4.so(+0xade3a) [0x7fbc5e2e0e3a] #18 /usr/lib64/samba/libsmbd-base-samba4.so(create_conn_struct_cwd+0x44) [0x7fbc5e2e1cf4] #19 /usr/libexec/samba/rpcd_mdssvc(mds_init_ctx+0x2c3) [0x563fdac08f03] #20 /usr/libexec/samba/rpcd_mdssvc(_mdssvc_open+0x141) [0x563fdac0b4d1] The corresponding open is done as part of initializing a connection_struct object, where we chdir() and stat() the root path of the share. The stat() in vfs_fruit causes an expensive metadata request on the path which triggers an internal open of a pathref handle. Note that this only affects servers that have fruit:metadata = netatalk set, which is the default unfortunately. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15354 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Apr 7 21:12:21 UTC 2023 on atb-devel-224 (cherry picked from commit 3633027e49aec064e7d890a1f7ec4d81711a5de7) Autobuild-User(v4-17-test): Jule Anger Autobuild-Date(v4-17-test): Fri Apr 14 13:30:54 UTC 2023 on sn-devel-184 commit 0c633912732292f114496773150727fcd39d6400 Author: Stefan Metzmacher Date: Wed Apr 5 16:59:44 2023 +0200 smbXsrv_tcon: avoid storing temporary (invalid!) records. We used to store smbXsrv_tcon_global.tdb records in two steps, first we created a record in order to allocate the tcon id. The temporary record had a NULL share_name, which translated into 0 bytes for the string during ndr_push_smbXsrv_tcon_global0. The problem is that ndr_pull_smbXsrv_tcon_global0 fails on this with something like: Invalid record in smbXsrv_tcon_global.tdb:key '2CA0ED4A' ndr_pull_struct_blob(length=85) - Buffer Size Error The blob looks like this: [] 00 00 00 00 01 00 00 00 00 00 00 00 00 00 02 00 [0010] 00 00 00 00 4A ED A0 2C 4A ED A0 2C 00 00 00 00 J.., J.., [0020] F8 4B 00 00 00 00 00 00 00 00 00 00 FF FF FF FF .K.. [0030] 4D 59 9B 9F 83 F4 35 20 36 D2 B0 82 62 68 D9 01 MY5 6...bh.. [0040] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [0050] 00 00 00 00 00 . The reason for having a temporary entry was just based on the fact, that it was easier to keep the logic in make_connection_snum() untouched. But we have all information available in order to store the final record directly. We only need to do the "max connections" check first. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15353 Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme (cherry picked from commit e0e58ed0e2429f01265d544b444bf0e4075549e2) commit fd477e4ff6f90568648059280cbf80f241ba3248 Author: Stefan Metzmacher Date: Thu Mar 2 14:46:25 2023 +0100 net_ads: fill ads->auth.realm from c->creds We get the realm we use for authentication needs to the realm belonging to the
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 45f026c45c9 debug: Only initialize gpfs wrapper when gpfs logging is enabled from 31418f95d3a testprogs: Set PREFIX_ABS before it is used in test_primary_group.sh https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 45f026c45c996bb65d2bd3e350587d51d6862a03 Author: Christof Schmitt Date: Thu Apr 13 11:13:00 2023 -0700 debug: Only initialize gpfs wrapper when gpfs logging is enabled This avoids unnecessary attempts to load libgpfs.so when it is not needed. Signed-off-by: Christof Schmitt Reviewed-by: Michael Tokarev Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Apr 14 12:28:23 UTC 2023 on atb-devel-224 --- Summary of changes: lib/util/debug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/lib/util/debug.c b/lib/util/debug.c index 95de5ce3595..b83075cb239 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -406,7 +406,9 @@ static void debug_lttng_log(int msg_level, const char *msg, size_t msg_len) static void debug_gpfs_reload(bool enabled, bool previously_enabled, const char *prog_name, char *option) { - gpfswrap_init(); + if (enabled) { + gpfswrap_init(); + } if (enabled && !previously_enabled) { gpfswrap_init_trace(); -- Samba Shared Repository
[SCM] Samba Website Repository - branch master updated
The branch, master has been updated via a7132cd team: add Namjae Jeon to team list from e09c817 NEWS[4.18.1]: Samba 4.18.1, 4.17.7 and 4.16.10 Security Releases are available for Download https://git.samba.org/?p=samba-web.git;a=shortlog;h=master - Log - commit a7132cd1b02879b45d72db10b14cd2ef24176e33 Author: David Disseldorp Date: Fri Apr 14 13:25:31 2023 +0200 team: add Namjae Jeon to team list As per <380c75cf-f524-a2e3-8b7a-7f4d6f605...@samba.org> Move Derrell to the alumni list as per Also, move a few names around to balance the column lengths. Signed-off-by: David Disseldorp --- Summary of changes: team/index.html | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/team/index.html b/team/index.html index b63f0ee..5f55b90 100755 --- a/team/index.html +++ b/team/index.html @@ -71,14 +71,14 @@ mailing list and start contributing to the development of Samba. mailto:ami...@samba.org;>Amitay Isaacs mailto:nivan...@samba.org;>Nadezhda Ivanova https://www.j3e.de/;>Bjrn Jacke(https://www.sernet.de/en/;>SerNet) -https://www.samba.org/~jlayton/jlayton_resume.html;>Jeff Layton -mailto:v...@samba.org;>Volker Lendecke(http://www.sernet.de/en/;>SerNet) +Namjae Jeon +https://www.samba.org/~jlayton/jlayton_resume.html;>Jeff Layton +mailto:v...@samba.org;>Volker Lendecke(http://www.sernet.de/en/;>SerNet) mailto:h...@samba.org;>Herb Lewis -mailto:derr...@samba.org;>Derrell Lipman mailto:g...@samba.org;>Gary Lockyer(http://catalyst.net.nz/what-we-offer/enterprise-solutions/samba;>Catalyst) mailto:j...@samba.org;>Jim McDonough(https://www.suse.com/;>SUSE) mailto:me...@samba.org;>Stefan Metzmacher(https://www.sernet.de/en/;>SerNet) @@ -164,6 +164,8 @@ during their time as team members. mailto:mkap...@samba.org;>Marc Kaplan mailto:pke...@ets.net;>Peter Kelly mailto:ku...@samba.org;>Gnter Kukkukk +mailto:va...@samba.org;>Vance Lankhaar +mailto:l...@samba-tng.org;>Luke Leighton @@ -172,8 +174,7 @@ during their time as team members. -mailto:va...@samba.org;>Vance Lankhaar -mailto:l...@samba-tng.org;>Luke Leighton +mailto:derr...@samba.org;>Derrell Lipman mailto:kame...@samba.org;>Kamen Mazdrashki mailto:me...@ifn.ing.tu-bs.de;>Eckart Meyer Jean-François Micouleau -- Samba Website Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 31418f95d3a testprogs: Set PREFIX_ABS before it is used in test_primary_group.sh via cfa53c8a801 lib:util: Fix code spelling via b3271603779 lib:util: Remove trailing white spaces in byteorder.h via 89d5c0dc5c7 lib:tsocket: Fix code spelling via 6eed0c128ce lib:tevent: Fix code spelling via 2afd7b1bb86 lib:tdb: Fix code spelling via b6de03c74c2 lib:talloc: Fix code spelling via c6e1a949156 lib:socket: Fix code spelling via 189f156c8c7 lib:smbconf: Fix code spelling via 8d647f2f7c0 lib:replace: Fix code spelling via 9d42ba7661f lib:replace: Remove trailing white spaces in xattr.c from 53f0a292f80 selftest:Samba3: use the correct NSS_WRAPPER_HOSTNAME https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 31418f95d3a44b2c43081b3095ca813fbdb3d6a1 Author: Pavel Filipenský Date: Thu Apr 13 09:41:26 2023 +0200 testprogs: Set PREFIX_ABS before it is used in test_primary_group.sh Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Apr 14 06:18:18 UTC 2023 on atb-devel-224 commit cfa53c8a80134dea025bd9cfe7b9c6518e75cae6 Author: Andreas Schneider Date: Thu Apr 13 13:29:32 2023 +0200 lib:util: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit b3271603779a04beee795c5ba8244923b4d04ef4 Author: Andreas Schneider Date: Thu Apr 13 13:27:37 2023 +0200 lib:util: Remove trailing white spaces in byteorder.h Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit 89d5c0dc5c709fef5d64715ab8a288b86db6aaca Author: Andreas Schneider Date: Thu Apr 13 13:19:05 2023 +0200 lib:tsocket: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit 6eed0c128ce4d42409226a48dba147a22e2acacf Author: Andreas Schneider Date: Thu Apr 13 13:18:05 2023 +0200 lib:tevent: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit 2afd7b1bb86a7454a960bacafc9dc9df0ba68dfc Author: Andreas Schneider Date: Thu Apr 13 13:17:08 2023 +0200 lib:tdb: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit b6de03c74c28b6ef3517801260e02fde802b5fdb Author: Andreas Schneider Date: Thu Apr 13 13:14:10 2023 +0200 lib:talloc: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit c6e1a949156398952ba7ea3bd8a164409abe985a Author: Andreas Schneider Date: Thu Apr 13 12:54:55 2023 +0200 lib:socket: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit 189f156c8c7f1fc48048169e23861fdb9a4841cf Author: Andreas Schneider Date: Thu Apr 13 12:54:21 2023 +0200 lib:smbconf: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit 8d647f2f7c00424ab52ada98d9131e81bfa38d1c Author: Andreas Schneider Date: Thu Apr 13 12:53:07 2023 +0200 lib:replace: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton commit 9d42ba7661f46b7d76a7e4901c3752be43541548 Author: Andreas Schneider Date: Thu Apr 13 12:52:52 2023 +0200 lib:replace: Remove trailing white spaces in xattr.c Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton --- Summary of changes: lib/replace/xattr.c | 10 +- lib/smbconf/pysmbconf.c | 4 +- lib/smbconf/smbconf.h| 6 +- lib/socket/interfaces.c | 2 +- lib/talloc/pytalloc_guide.txt| 2 +- lib/talloc/pytalloc_util.c | 2 +- lib/talloc/talloc.c | 6 +- lib/tdb/common/lock.c| 4 +- lib/tdb/common/mutex.c | 8 +- lib/tdb/common/open.c| 4 +- lib/tdb/common/transaction.c | 2 +- lib/tdb/common/traverse.c| 2 +- lib/tdb/docs/mutex.txt | 4 +- lib/tdb/test/lock-tracking.c | 2 +- lib/tevent/doc/tevent_events.dox | 4 +- lib/tevent/doc/tevent_queue.dox | 4 +- lib/tevent/doxy.config | 2 +- lib/tevent/testsuite.c | 2 +- lib/tevent/tevent.c | 2 +- lib/tevent/tevent.h | 8 +- lib/tevent/tevent_threads.c | 4 +- lib/tsocket/tsocket.h| 4 +- lib/tsocket/tsocket_guide.txt| 4 +- lib/util/access.c| 4 +- lib/util/byteorder.h | 14 +-