Page MenuHomeFreeBSD

security/sssd2: Fix ldb and idmap library paths
ClosedPublic

Authored by 0mp on Mon, Dec 8, 5:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 30, 6:26 PM
Unknown Object (File)
Wed, Dec 17, 3:53 PM
Unknown Object (File)
Tue, Dec 16, 12:17 AM
Unknown Object (File)
Tue, Dec 16, 12:17 AM
Unknown Object (File)
Mon, Dec 15, 9:32 PM
Unknown Object (File)
Mon, Dec 15, 6:07 PM
Unknown Object (File)
Mon, Dec 15, 6:00 PM
Unknown Object (File)
Sat, Dec 13, 10:37 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.Mon, Dec 8, 5:59 PM
0mp created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Tue, Dec 9, 8:17 AM
This revision was automatically updated to reflect the committed changes.