Bug 57894 - 42_samba_tdb_deprecated does not detect deprecated Samba-DB type
Summary: 42_samba_tdb_deprecated does not detect deprecated Samba-DB type
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
Version: UCS 5.2
Hardware: Other All
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on: 57145
Blocks:
  Show dependency treegraph
 
Reported: 2025-01-22 13:41 CET by Dirk Ahrnke
Modified: 2025-01-22 17:02 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Ahrnke univentionstaff 2025-01-22 13:41:27 CET
According to https://help.univention.com/t/p/22821 a warning should appear in 5.2 when using tdb. This seems not to be the case atm.

root@dn1:~# univention-app info
UCS: 5.2-0 errata0
Installed: letsencrypt=4.0.0-1 samba4=4.21 univention-demo-data=2.1.0-1 5.0/keycloak=25.0.6-ucs4
Upgradable:

root@dn1:~# ucr search samba/database/backend/store
samba/database/backend/store/size: 8Gb
 Specifies the maximum size of the database, currently only supported by the mdb backend (default 8Gb).

samba/database/backend/store: mdb
 Specifies the database backend to be used (default is mdb, alternative option is tdb). Changing this requires a re-join of univention-samba4.

root@dn1:~# univention-run-diagnostic-checks -t 42_samba_tdb_deprecated
Executing following checks: ['42_samba_tdb_deprecated']

You can find the logging messages of the diagnostic modules at /var/log/univention/management-console-module-diagnostic.log

ran 42_samba_tdb_deprecated successfully.

root@dn1:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b '@PARTITION' -s base backendStore | sed -n 's/^backendStore: //p'
tdb