[SCM] Samba Shared Repository - branch v4-21-test updated
Stefan Metzmacher
metze at samba.org
Wed Aug 7 11:16:01 UTC 2024
The branch, v4-21-test has been updated
via b375043d62c script/autobuild.py: do some basic testing using --without-winbind
via ba14164f729 s3:lib: add winbind_lookup_name_ex() fallback for --without-winbind
via 0ca6cd90b66 tdb: version 1.4.12
via 0cf9c6efd7e autobuild: Add ABI checks for libtalloc, libtevent and libtdb
from 725907587b8 WHATSNEW: update the "Automatic keytab update after machine password change" section
https://git.samba.org/?p=samba.git;a=shortlog;h=v4-21-test
- Log -----------------------------------------------------------------
commit b375043d62cef4ade95a4c9d259a776772aa32f2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 6 17:45:37 2024 +0200
script/autobuild.py: do some basic testing using --without-winbind
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15687
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Volker Lendecke <vl at samba.org>
Autobuild-Date(master): Wed Aug 7 07:38:35 UTC 2024 on atb-devel-224
(cherry picked from commit c0d0767a3ab2c0cd5c4f2fa5cd77f3b678794d63)
Autobuild-User(v4-21-test): Stefan Metzmacher <metze at samba.org>
Autobuild-Date(v4-21-test): Wed Aug 7 11:15:19 UTC 2024 on atb-devel-224
commit ba14164f7293145c061381b4b1caba53475be88e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 6 17:20:38 2024 +0200
s3:lib: add winbind_lookup_name_ex() fallback for --without-winbind
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15687
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
(cherry picked from commit 5b31b723c06a0b41f9d47e47ce79818e07d3b831)
commit 0ca6cd90b661ee8002dd55f408b525003ac415a1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 6 15:11:36 2024 +0200
tdb: version 1.4.12
* Regression fix for ABI problem
TDB_1_4_11 vs. TDB_1.4.11
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15673
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
Autobuild-Date(master): Tue Aug 6 16:16:27 UTC 2024 on atb-devel-224
(cherry picked from commit 6b10cfbaf2c522cceb48c610c18656d2d69cf60b)
commit 0cf9c6efd7eac8fa026bac7d79b4f4f3ef01450c
Author: Andreas Schneider <asn at samba.org>
Date: Tue Aug 6 14:43:29 2024 +0200
autobuild: Add ABI checks for libtalloc, libtevent and libtdb
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15673
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit bcd49e3000736eb3c642280ac2e1f3d56a31b6bb)
-----------------------------------------------------------------------
Summary of changes:
lib/tdb/ABI/{tdb-1.3.17.sigs => tdb-1.4.12.sigs} | 0
lib/tdb/wscript | 2 +-
script/autobuild.py | 51 ++++++++++++++++++++++++
source3/lib/winbind_util.c | 11 +++++
4 files changed, 63 insertions(+), 1 deletion(-)
copy lib/tdb/ABI/{tdb-1.3.17.sigs => tdb-1.4.12.sigs} (100%)
Changeset truncated at 500 lines:
diff --git a/lib/tdb/ABI/tdb-1.3.17.sigs b/lib/tdb/ABI/tdb-1.4.12.sigs
similarity index 100%
copy from lib/tdb/ABI/tdb-1.3.17.sigs
copy to lib/tdb/ABI/tdb-1.4.12.sigs
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 234a66f6878..812e5987daf 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -1,7 +1,7 @@
#!/usr/bin/env python
APPNAME = 'tdb'
-VERSION = '1.4.11'
+VERSION = '1.4.12'
import sys, os
diff --git a/script/autobuild.py b/script/autobuild.py
index 6a9864f6f89..d059caec471 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -884,14 +884,56 @@ tasks = {
("talloc-configure", "cd lib/talloc && " + samba_libs_configure_libs),
("talloc-make", "cd lib/talloc && make"),
("talloc-install", "cd lib/talloc && make install"),
+ ("talloc-abi-check1",
+ check_versioned_symbol(
+ "./lib/talloc/bin/shared/libtalloc.so.2",
+ "talloc_named",
+ "TALLOC_2.0.2"
+ )
+ ),
+ ("talloc-abi-check2",
+ check_versioned_symbol(
+ "./lib/talloc/bin/shared/libtalloc.so.2",
+ "talloc_asprintf_addbuf",
+ "TALLOC_2.3.5"
+ )
+ ),
("tdb-configure", "cd lib/tdb && " + samba_libs_configure_libs),
("tdb-make", "cd lib/tdb && make"),
("tdb-install", "cd lib/tdb && make install"),
+ ("tdb-abi-check1",
+ check_versioned_symbol(
+ "./lib/tdb/bin/shared/libtdb.so.1",
+ "tdb_errorstr",
+ "TDB_1.2.1"
+ )
+ ),
+ ("tdb-abi-check2",
+ check_versioned_symbol(
+ "./lib/tdb/bin/shared/libtdb.so.1",
+ "tdb_traverse_chain",
+ "TDB_1.3.17"
+ )
+ ),
("tevent-configure", "cd lib/tevent && " + samba_libs_configure_libs),
("tevent-make", "cd lib/tevent && make"),
("tevent-install", "cd lib/tevent && make install"),
+ ("tevent-abi-check1",
+ check_versioned_symbol(
+ "./lib/tevent/bin/shared/libtevent.so.0",
+ "_tevent_loop_once",
+ "TEVENT_0.9.9"
+ )
+ ),
+ ("tevent-abi-check2",
+ check_versioned_symbol(
+ "./lib/tevent/bin/shared/libtevent.so.0",
+ "__tevent_req_create",
+ "TEVENT_0.15.0"
+ )
+ ),
("nondevel-configure", samba_libs_envvars + " ./configure --private-libraries='!ldb' --vendor-suffix=TEST-STRING~5.1.2 ${PREFIX}"),
("nondevel-make", "make -j"),
@@ -1040,6 +1082,15 @@ tasks = {
("nonshared-lcov", LCOV_CMD),
("nonshared-check-clean-tree", CLEAN_SOURCE_TREE_CMD),
("nonshared-clean", "make clean"),
+
+ # retry without winbindd
+ ("nonwinbind-distclean", "make distclean"),
+ ("nonwinbind-configure", "./configure.developer " + samba_configure_params + " --bundled-libraries=ALL --with-static-modules=ALL --without-winbind"),
+ ("nonwinbind-make", "make -j"),
+ ("nonwinbind-test", make_test(TESTS="samba3.smb2.*.simpleserver")),
+ ("nonwinbind-lcov", LCOV_CMD),
+ ("nonwinbind-check-clean-tree", CLEAN_SOURCE_TREE_CMD),
+ ("nonwinbind-clean", "make clean"),
],
},
diff --git a/source3/lib/winbind_util.c b/source3/lib/winbind_util.c
index 0852c3d0281..ece0cbf2114 100644
--- a/source3/lib/winbind_util.c
+++ b/source3/lib/winbind_util.c
@@ -363,6 +363,17 @@ bool winbind_lookup_name(const char *dom_name, const char *name, struct dom_sid
return false;
}
+_PRIVATE_
+NTSTATUS winbind_lookup_name_ex(const char *dom_name,
+ const char *name,
+ struct dom_sid *sid,
+ enum lsa_SidType *name_type)
+{
+ *name_type = SID_NAME_UNKNOWN;
+ ZERO_STRUCTP(sid);
+ return NT_STATUS_OK;
+}
+
/* Call winbindd to convert sid to name */
bool winbind_lookup_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid,
--
Samba Shared Repository
More information about the samba-cvs
mailing list