FS#75040 - [samba] upgrade to ldb 2.5.1-1 breaks samba

Attached to Project: Arch Linux
Opened by David Rosenstrauch (darose) - Saturday, 11 June 2022, 17:48 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 12 June 2022, 14:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Upgraded my system today, which included upgrades to samba 4.16.1-4 and ldb 2.5.1-1. Samba didn't work after this:

```
Jun 11 13:37:39 darsys22 smbd[15562]: ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
Jun 11 13:37:39 darsys22 smbd[15562]: [2022/06/11 13:37:39.033882, 0] ../../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug)
Jun 11 13:37:39 darsys22 smbd[15562]: ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
Jun 11 13:37:39 darsys22 smbd[15562]: [2022/06/11 13:37:39.033906, 0] ../../source3/passdb/pdb_samba_dsdb.c:3852(pdb_init_samba_dsdb)
Jun 11 13:37:39 darsys22 smbd[15562]: samdb_connect failed: Failed to connect to sam.ldb: (null): Operations error
Jun 11 13:37:39 darsys22 smbd[15562]: [2022/06/11 13:37:39.033914, 0] ../../source3/passdb/pdb_interface.c:181(make_pdb_method_name)
Jun 11 13:37:39 darsys22 smbd[15562]: pdb backend samba_dsdb did not correctly init (error was NT_STATUS_INTERNAL_ERROR)
Jun 11 13:37:39 darsys22 systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
```

Downgraded ldb back to 2.5.0-1 fixes the issue.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 12 June 2022, 14:02 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Sunday, 12 June 2022, 12:28 GMT
Status on samba 4.16.1-5?
Comment by telsch (telsch) - Sunday, 12 June 2022, 13:09 GMT
Seems to be fixed.

Loading...