Page MenuHomeFreeBSD

security/sssd2: Fix ldb and idmap library paths
ClosedPublic

Authored by 0mp on Dec 8 2025, 5:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 29, 11:19 PM
Unknown Object (File)
Tue, Jan 27, 8:53 PM
Unknown Object (File)
Mon, Jan 26, 10:22 PM
Unknown Object (File)
Jan 4 2026, 2:27 AM
Unknown Object (File)
Dec 30 2025, 6:26 PM
Unknown Object (File)
Dec 17 2025, 3:53 PM
Unknown Object (File)
Dec 16 2025, 12:17 AM
Unknown Object (File)
Dec 16 2025, 12:17 AM
Subscribers
None

Details

Summary

The ldb library path seems incorrect as it does not work in the built-in
ldb of Samba 4.22. Fix that by using SAMBA_LDB_MODULESDIR. This should
fix the following runtime error:

*  (2025-12-02 03:12:12): [sssd] [sysdb_ldb_connect] (0x4000): No ldb module path set in env
*  (2025-12-02 03:12:12): [sssd] [sysdb_ldb_connect] (0x4000): No ldb module path set in env
*  (2025-12-02 03:12:12): [sssd] [ldb] (0x0010): WARNING: Module [memberof] not found - do you need to set LDB_MODULES_PATH?

Also, use SAMBA_IDMAP_MODULESDIR for consistency.

Sponsored by: Klara, Inc.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

0mp requested review of this revision.Dec 8 2025, 5:59 PM
0mp created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Dec 9 2025, 8:17 AM
This revision was automatically updated to reflect the committed changes.