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)
Sun, Jan 4, 2:27 AM
Unknown Object (File)
Tue, Dec 30, 6:26 PM
Unknown Object (File)
Wed, Dec 17, 3:53 PM
Unknown Object (File)
Dec 16 2025, 12:17 AM
Unknown Object (File)
Dec 16 2025, 12:17 AM
Unknown Object (File)
Dec 15 2025, 9:32 PM
Unknown Object (File)
Dec 15 2025, 6:07 PM
Unknown Object (File)
Dec 15 2025, 6:00 PM
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.