summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ldb: version 2.7.1ldb-2.7.1Stefan Metzmacher2023-02-063-1/+295
| | | | | | | | | | | | - 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 <metze@samba.org> Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Mon Feb 6 13:55:46 UTC 2023 on atb-devel-224
* tevent: version 0.14.1Stefan Metzmacher2023-02-062-1/+158
| | | | | | | | | | | | | | - Build fix for GNU/Hurd - Build fix for Solaris, after removal of ports backend (bug #15298) Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Feb 2 18:27:08 UTC 2023 on atb-devel-224 (cherry picked from commit d80f28b081e515e32a480daf80b42cf782447a9c)
* tevent: remove the already removed tevent_port.c also from the buildStefan Metzmacher2023-02-061-3/+0
| | | | | | | | | | This fixes a regression introduced by 147a317b7b92e60c5940d875dbd7aef19824834e. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15298 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit ae77854a44094df6c9291271504c9733e717674f)
* replace: remove unused configure checks for port_create()Stefan Metzmacher2023-02-062-9/+0
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=15298 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 488aa2275847162755dcbfc75cb2549299aa2aeb)
* replace: provide PIPE_BUF on GNU/HurdSamuel Thibault2023-02-061-0/+12
| | | | | | | | | | 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 <samuel.thibault@ens-lyon.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 15b1afc9175e045b3b28523309fb3b28a3fab484)
* WHATSNEW: fix typoJule Anger2023-02-011-1/+1
| | | | Signed-off-by: Jule Anger <janger@samba.org>
* VERSION: Bump version up to Samba 4.18.0rc3...Jule Anger2023-02-011-2/+2
| | | | | | and re-enable GIT_SNAPSHOT. Signed-off-by: Jule Anger <janger@samba.org>
* VERSION: Disable GIT_SNAPSHOT for the 4.18.0rc2 release.samba-4.18.0rc2Jule Anger2023-02-011-1/+1
| | | | Signed-off-by: Jule Anger <janger@samba.org>
* WHATSNEW: Add release notes for Samba 4.18.0rc2.Jule Anger2023-02-011-1/+1
| | | | Signed-off-by: Jule Anger <janger@samba.org>
* tmpJule Anger2023-02-011-1/+15
|
* WHATSNEW: Add note about Azure AD cloud connect sync supportAndrew Bartlett2023-02-011-0/+6
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Wed Feb 1 17:26:50 UTC 2023 on atb-devel-224
* s4-drsuapi: Give an error that matches windows on destination_dsa_guid ↵Andrew Bartlett2023-02-012-4/+12
| | | | | | | | | | | | | | lookup failure BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jan 31 13:43:54 UTC 2023 on atb-devel-224 (cherry picked from commit 0f2978bbc0ed5b65d75c20472650a749643312e7)
* s4-drsuapi: Clarify role of drs_security_access_check_nc_root()Andrew Bartlett2023-02-011-1/+5
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 1838f349c94b878de1740af35351a2e8e0c8cffb)
* s4-rpc_server: Pre-check destination_dsa_guid in GetNCChanges for validityAndrew Bartlett2023-02-012-5/+39
| | | | | | | | | | This allows our new tests to pass as these need to be checked first. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 115a3a10440f44ba11029be5ae3a05534a7b98c0)
* s4-drsuapi: Use samdb_get_ntds_obj_by_guid() to find RODC in REPL_SECRETAndrew Bartlett2023-02-011-3/+9
| | | | | | | | | | | | | We need to find the RODC per the destination_dsa_guid to mark the secrets as having been replicated, and by using samdb_get_ntds_obj_by_guid() we are stricter in the checks, as the RODC has to be the right objectClass (nTDSDSA) and under the CN=Configuration partition. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 09ec6a1db2d3b831548bf7d66475c486be29b1d1)
* s4-dsdb: Require that the NTDS object is an nTDSDSA objectclassAndrew Bartlett2023-02-011-1/+1
| | | | | | | | | | | This should avoid a user being able to specify the GUID of a different type of object. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit adb776149e5ac0eb346992775610627106e1a986)
* s4-dsdb: Split samdb_get_ntds_obj_by_guid() out of samdb_is_rodc()Andrew Bartlett2023-02-011-12/+47
| | | | | | | | | | | This will allow the logic here to be tighened up and shared in the next few commits. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit d5a2af3feae98057ba29de444d308d499d633941)
* s4-rpc_server/drsuapi: Return correct error code for an invalid DN to ↵Andrew Bartlett2023-02-012-2/+14
| | | | | | | | | | EXOP_REPL_OBJ/EXOP_REPL_OBJ BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit cbe18353d8d7b2a35b965e4fc8c895ac497e67e8)
* s4-drs: Make drs_ObjectIdentifier_to_dn() safer and able to cope with ↵Andrew Bartlett2023-02-014-32/+165
| | | | | | | | | | | | | | DummyDN values We want to totally ignore the string DN if there is a GUID, as clients like "Microsoft Azure AD connect cloud sync" will set a literal "DummyDN" string. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 73f3ece8b2b44ac4b3323a08fb969f29bf2b0380)
* s4-dsdb: rework drs_ObjectIdentifier_to_dn() into ↵Andrew Bartlett2023-02-015-33/+133
| | | | | | | | | | | | | | | drs_ObjectIdentifier_to_dn_and_nc_root() This make this funciton the gatekeeper between the wire format and the internal struct ldb_dn, checking if the DN exists and which NC it belongs to along the way, and presenting only a DB-returned DN for internal processing. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit aee2039e63ceeb5e69a0461fb77e0f18278e4dc4)
* s4-rpc_server/drsuapi: Use dsdb_normalise_dn_and_find_nc_root()Andrew Bartlett2023-02-011-3/+9
| | | | | | | | | | | | | This reuses the search done for dsdb_find_nc_root() to normalise the DN. This will allow a GUID-input DN to be compared safely with a RID Manager DN or Naming Context. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit e96dfc74b3ece40fe64a33aa8b8d810b576982bd)
* s4-dsdb: Add dsdb_normalise_dn_and_find_nc_root() around dsdb_find_nc_root()Andrew Bartlett2023-02-011-2/+33
| | | | | | | | | | | | | Reuse the search done for dsdb_find_nc_root() to normalise the DN. This will allow a GUID-input DN to be compared safely with a RID Manager DN or Naming Context. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 8e1122420efd11a91aa1c5d60c0cc8fd9ffaf157)
* s4-dsdb: Add better debugging to dsdb_objects_have_same_nc()Andrew Bartlett2023-02-011-4/+4
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 0f501b2316af6568003e520848c1ec80c286fd36)
* s4-dsdb: Make dsdb_find_nc_root() first try and use ↵Andrew Bartlett2023-02-012-13/+234
| | | | | | | | | | | | | DSDB_CONTROL_CURRENT_PARTITION_OID This allows lookup of a DN with a GUID only or GUID and string, possibly not yet in the database, yet still getting the correct result. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit d0444be4b74bdad6a731bc5fcf86da6142b03539)
* s4-dsdb: Schedule SD propegation only after successful renameAndrew Bartlett2023-02-011-39/+95
| | | | | | | | | | | | | | | | | This avoids needing to anticipate errors that the rename might give while allowing the dsdb_find_nc_root() routine to become stricter. The problem is that dsdb_find_nc_root() will soon do a real search and so fail more often, but these failures will give "wrong" error codes. We do not need to do this work if the operation fails, so put this in the callback. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 7032b86cd5c1456318558ed95f8890e353117ced)
* s4-selftest/drs: Confirm GetNCChanges REPL_SECRET works with a DummyDN and ↵Andrew Bartlett2023-02-013-1/+50
| | | | | | | | | | real GUID BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 7c43388576f768db564aaf15a47d3f9ce5796fb3)
* s4-selftest/drs: Confirm GetNCChanges full replication works with a DummyDN ↵Andrew Bartlett2023-02-012-2/+52
| | | | | | | | | | and real GUID BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 539221dda33f03a1abf5ee5f3153db0fe1a9bfe6)
* s4-selftest/drs: Confirm GetNCChanges REPL_OBJ works with a DummyDN and real ↵Andrew Bartlett2023-02-012-6/+77
| | | | | | | | | | GUID BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 70faccae6d595056174af8d63b3437c9fe3805aa)
* s4-selftest/drs Allow re-run of DRS tests after failed cleanupAndrew Bartlett2023-02-011-1/+2
| | | | | | | | | | Using a random base is a useful start, even if the better solution also includes a self.AddCleanup() BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 3204d1350b21704474e577cb5f3f2439b673c421)
* s4-selftest/drs Allow some DRS tests to operate against an IPAndrew Bartlett2023-02-014-29/+18
| | | | | | | | | | | This is not comprehensive, but makes some manual test runs easier by avoiding the need for DNS names to resolve. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit a150a2dcb1fc7fc7f606838de17ad4d3e6072bda)
* s4-selftest/drs Add test of expected return code for invaid DNs in GetNCChangesAndrew Bartlett2023-02-013-3/+88
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit bee45e6b29b97e0cab19a9c3cf692d9a7585a717)
* s4-dsdb: Add tests of SamDB.get_nc_root()Andrew Bartlett2023-02-012-0/+132
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10635 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 2c7bb58703c1fa26782ac6959ea7d81fccf3905c)
* s3/lib: Prevent use after free of messaging_ctdb_fde_ev structsNoel Power2023-01-311-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a cluster setup samba-bgqd async callback cups_pcap_load_async can access messaging_ctdb_fde_ev associated with already destructed global_ctdb_ctx_destructor ==26053== Invalid read of size 8 ==26053== at 0x71692E1: messaging_ctdb_fde_ev_destructor (messages_ctdb.c:181) ==26053== by 0x40B2309: _tc_free_internal (talloc.c:1158) ==26053== by 0x40B3539: _tc_free_children_internal (talloc.c:1669) ==26053== by 0x40B24C4: _tc_free_internal (talloc.c:1184) ==26053== by 0x40B3539: _tc_free_children_internal (talloc.c:1669) ==26053== by 0x40B24C4: _tc_free_internal (talloc.c:1184) ==26053== by 0x40B2685: _talloc_free_internal (talloc.c:1248) ==26053== by 0x40B3963: _talloc_free (talloc.c:1792) ==26053== by 0x4056BCA: tevent_req_received (tevent_req.c:301) ==26053== by 0x405673D: tevent_req_destructor (tevent_req.c:135) ==26053== by 0x40B2309: _tc_free_internal (talloc.c:1158) ==26053== by 0x40B3539: _tc_free_children_internal (talloc.c:1669) ==26053== by 0x40B24C4: _tc_free_internal (talloc.c:1184) ==26053== by 0x40B2685: _talloc_free_internal (talloc.c:1248) ==26053== by 0x40B3963: _talloc_free (talloc.c:1792) ==26053== by 0x1384EF: cups_pcap_load_async (print_cups.c:507) ==26053== by 0x13894B: cups_cache_reload (print_cups.c:602) ==26053== by 0x1373AE: pcap_cache_reload (pcap.c:140) ==26053== by 0x1369D2: register_printing_bq_handlers (queue_process.c:323) ==26053== by 0x122AD6: main (samba-bgqd.c:316) ==26053== Address 0xed64d48 is 120 bytes inside a block of size 128 free'd ==26053== at 0x4C370EB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==26053== by 0x40B25E1: _tc_free_internal (talloc.c:1222) ==26053== by 0x40B2685: _talloc_free_internal (talloc.c:1248) ==26053== by 0x40B3963: _talloc_free (talloc.c:1792) ==26053== by 0x71691F6: messaging_ctdb_destroy (messages_ctdb.c:141) ==26053== by 0x7169C21: msg_ctdb_ref_destructor (messages_ctdb_ref.c:142) ==26053== by 0x40B2309: _tc_free_internal (talloc.c:1158) ==26053== by 0x40B3539: _tc_free_children_internal (talloc.c:1669) ==26053== by 0x40B24C4: _tc_free_internal (talloc.c:1184) ==26053== by 0x40B2685: _talloc_free_internal (talloc.c:1248) ==26053== by 0x40B3963: _talloc_free (talloc.c:1792) ==26053== by 0x4157380: messaging_reinit (messages.c:646) ==26053== by 0x416C01E: reinit_after_fork (util.c:488) ==26053== by 0x13844C: cups_pcap_load_async (print_cups.c:498) ==26053== by 0x13894B: cups_cache_reload (print_cups.c:602) ==26053== by 0x1373AE: pcap_cache_reload (pcap.c:140) ==26053== by 0x1369D2: register_printing_bq_handlers (queue_process.c:323) ==26053== by 0x122AD6: main (samba-bgqd.c:316) ==26053== Block was alloc'd at ==26053== at 0x4C346A4: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==26053== by 0x40B1989: __talloc_with_prefix (talloc.c:783) ==26053== by 0x40B1B23: __talloc (talloc.c:825) ==26053== by 0x40B1ECC: _talloc_named_const (talloc.c:982) ==26053== by 0x40B49C3: _talloc_zero (talloc.c:2421) ==26053== by 0x7168E68: messaging_ctdb_init (messages_ctdb.c:93) ==26053== by 0x716979D: messaging_ctdb_ref (messages_ctdb_ref.c:75) ==26053== by 0x415702A: messaging_init_internal (messages.c:563) ==26053== by 0x41572FD: messaging_init (messages.c:622) ==26053== by 0x4163ED3: global_messaging_context (global_contexts.c:62) ==26053== by 0x12273B: main (samba-bgqd.c:271) ==26053== Bug: https://bugzilla.samba.org/show_bug.cgi?id=15293 Signed-off-by: Noel Power <npower@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 7a880ef52dfc85ed2f674250b5baf5109f8d4691) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Tue Jan 31 12:49:50 UTC 2023 on atb-devel-224
* s3:auth: call wbcFreeMemory(info) in auth3_generate_session_info_pac()Stefan Metzmacher2023-01-311-0/+1
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=15286 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit e27084f5d8c3a151c5d0b266118f0d71b641dc85)
* WHATSNEW: add acl_xattr:security_acl_name optionBjörn Baumbach2023-01-311-0/+17
| | | | | Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Ralph Boehme <slow@samba.org>
* WHATSNEW 4.18: mention samba-tool dsacl deleteDouglas Bagnall2023-01-201-0/+8
| | | | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Fri Jan 20 12:00:40 UTC 2023 on atb-devel-224
* VERSION: Bump version up to 4.18.0rc2...Stefan Metzmacher2023-01-191-2/+2
| | | | | | | | | and re-enable GIT_SNAPSHOT. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(v4-18-test): Stefan Metzmacher <metze@samba.org> Autobuild-Date(v4-18-test): Thu Jan 19 14:33:06 UTC 2023 on atb-devel-224
* VERSION: Disable GIT_SNAPSHOT for the Samba 4.18.0rc1 release.samba-4.18.0rc1Jule Anger2023-01-181-3/+3
| | | | | Signed-off-by: Jule Anger <janger@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* WHATSNEW: Up to Samba 4.18.0rc1.Jule Anger2023-01-181-1/+1
| | | | | Signed-off-by: Jule Anger <janger@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ldb: version 2.7.0ldb-2.7.0Stefan Metzmacher2023-01-181-1/+1
| | | | | | | | | | | | * Support python 3.12 * Have python functions operating on DNs raise LdbError * don't call comparison() directly in LDB_TYPESAFE_QSORT * Use ldb_ascii_toupper() for case folding to support tr_TR.UTF-8 and other dotless i locales, see https://bugzilla.samba.org/show_bug.cgi?id=15248 Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jule Anger <janger@samba.org>
* tevent: version 0.14.0tevent-0.14.0Stefan Metzmacher2023-01-183-6/+158
| | | | | | | | | | | | | | | | | | | | - Support python 3.12 - remove solaris port backend (it's not maintainable) - make tevent_find_ops_byname() available for callers. - allow the "standard" backend to be overloaded - add interface for request/subrequest call depth tracking: - tevent_thread_call_depth_activate - tevent_thread_call_depth_deactivate - tevent_thread_call_depth_start - tevent_thread_call_depth_stop - tevent_thread_call_depth_reset_from_req Note the changes to ABI/tevent-0.13.0.sigs only revert the temporary changes made there... Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: Call depth trackingPavel Filipenský2023-01-187-0/+223
| | | | | | | | | The change to lib/tevent/ABI/tevent-0.13.0.sigs will be reverted in the commit for the 0.14.0 release... Signed-off-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: expose tevent_find_ops_byname() to callersStefan Metzmacher2023-01-184-3/+3
| | | | | | | | | | This makes it more flexible and allow a caller to overload a tevent backend. Which will be used by Samba in order to glue in io_uring support. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: allow the "standard" backend to be overloadedStefan Metzmacher2023-01-181-1/+1
| | | | | | | | | | We'll export tevent_find_ops_byname() soon and will allow the context_init() function of backends to find that standard ops and hand over to standard_ops->context_init(). Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: remove solaris port backendStefan Metzmacher2023-01-183-809/+0
| | | | | | | | | | | | | There's no way to verify changes we would have to do tevent_port.c, as we don't have access to a solaris build machine. So better use the poll backend instead. In performance critical code we typically don't deal with a lot of file descriptors so the impact should be fairly minimal. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: remove unused register_backend() from python bindingsStefan Metzmacher2023-01-181-130/+0
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: remove unused tevent_liboop.cStefan Metzmacher2023-01-181-292/+0
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: Fix trailing whitespaces in tevent.cPavel Filipenský2023-01-181-4/+4
| | | | | | Signed-off-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: use samba_tevent_set_debug() in testsuite.cStefan Metzmacher2023-01-181-15/+35
| | | | | | | | | Note testsuite.c is only used in Samba's smbtorture as 'smbtorture //a/b local.event' Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>
* lib/util: install a tevent_abort callback using smb_panic()Stefan Metzmacher2023-01-181-0/+18
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Volker Lendecke <vl@samba.org>