#9843 Bump samba version for rawhide
Closed: fixed by frenaud. Opened by frenaud.

In rawhide, samba was updated to 4.23.0 and changed passdb API.

FreeIPA needs to update the spec file and bump the required samba version for f43+.


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7911

The failure is visible in the nightly test test_adtrust_install (https://$ARTIFACT_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-rawhide/master/2025-08-16_19-30/rawhide/test_adtrust_install/1/) with the following error in the journal:

Aug 16 20:48:46 master.ufreeipa.test systemd[1]: Starting smb.service - Samba SMB Daemon...
Aug 16 20:48:46 master.ufreeipa.test smbd[30346]: [2025/08/16 20:48:46.847749,  0, pid=30346] ../../source3/passdb/pdb_interface.c:70(smb_register_passdb)
Aug 16 20:48:46 master.ufreeipa.test smbd[30346]:   Can't register passdb backend!
Aug 16 20:48:46 master.ufreeipa.test smbd[30346]:   You tried to register a passdb module with PASSDB_INTERFACE_VERSION 25, while this version of samba uses version 30
Aug 16 20:48:46 master.ufreeipa.test smbd[30346]: [2025/08/16 20:48:46.847838,  0, pid=30346] ../../lib/util/modules.c:171(load_module_absolute_path)
Aug 16 20:48:46 master.ufreeipa.test smbd[30346]:   load_module_absolute_path: Module '/usr/lib64/samba/pdb/ipasam.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request.
Aug 16 20:48:46 master.ufreeipa.test smbd[30346]: [2025/08/16 20:48:46.847945,  0, pid=30346] ../../source3/passdb/pdb_interface.c:173(make_pdb_method_name)
Aug 16 20:48:46 master.ufreeipa.test smbd[30346]:   No builtin nor plugin backend for ipasam found
Aug 16 20:48:46 master.ufreeipa.test systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE

The error happens during the call to ipa-adtrust-install, when the installer restarts the services:

2025-08-16T20:48:46+0000 [ipatests.pytest_ipa.integration.host.Host.master.cmd72] DEBUG   [22/24]: starting CIFS services
2025-08-16T20:48:46+0000 [ipatests.pytest_ipa.integration.host.Host.master.cmd72] DEBUG ipaserver.install.adtrustinstance: CRITICAL CIFS services failed to start

master:

  • 6069147e3bea92059849e0a8c1948a0f1c3c8425 Spec file: bump samba version to 4.23.0 in f43 and above

ipa-4-12:

  • 72e1a1db6eb762811e37e5b4d929b47b4a69f006 Spec file: bump samba version to 4.23.0 in f43 and above

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata