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)
Wed, May 27, 4:17 PM
Unknown Object (File)
Tue, May 26, 1:50 PM
Unknown Object (File)
May 9 2026, 1:08 PM
Unknown Object (File)
May 9 2026, 11:11 AM
Unknown Object (File)
May 8 2026, 7:55 PM
Unknown Object (File)
May 7 2026, 8:35 PM
Unknown Object (File)
May 7 2026, 12:55 PM
Unknown Object (File)
May 2 2026, 6:48 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.