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)
Sat, May 9, 1:08 PM
Unknown Object (File)
Sat, May 9, 11:11 AM
Unknown Object (File)
Fri, May 8, 7:55 PM
Unknown Object (File)
Thu, May 7, 8:35 PM
Unknown Object (File)
Thu, May 7, 12:55 PM
Unknown Object (File)
Sat, May 2, 6:48 PM
Unknown Object (File)
Fri, May 1, 1:43 AM
Unknown Object (File)
Thu, Apr 30, 7:54 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.