[Juha Jäykkä]
> Sssd is unable to figure out memberships of groups stored in
> ldap. This is caused by incorrect pathname somewhere within sssd.

I've tried to track down where the /usr/modules/ldb/ path come from,
and have not been able to find it in the sssd source.  But I am
starting to suspect that this is the path compiled into libldb, and
that sssd just fail to change it to match the path used during
installation:

  % strings /usr/lib/libldb.so.0.9.13|grep usr
  /usr/modules/ldb
  %

I do notice src/db/sysdb.c calls ldb_set_modules_dir() when SYSDB_TEST
is defined.  Perhaps the default setting in libldb is the same as the
path used by sssd on the developers machines (probably Fedora), while
it is different on Debian and Ubuntu?  That would explain the problem.

Not quite sure what the fix is, as I do not know the ldb API nor the
sssd internals.  Perhaps it is as simple as adding a
ldb_set_modules_dir() call in the non-test code to ensure sssd and ldb
use the same path?

I've asked upstream to help with this issue.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to