On Fri, Sep 22, 2017 at 7:40 AM, Lukas Slebodnik lslebodn@redhat.com wrote:
You might check libsss_idmap.so. It does not do any communication. And it is used internally by sssd https://pagure.io/SSSD/sssd/blob/master/f/src/lib/idmap/sss_idmap.h
sh$ rpm -q --whatrequires "libsss_idmap.so.0()(64bit)" sssd-client-1.15.3-4.fc27.x86_64 sssd-common-1.15.3-4.fc27.x86_64 sssd-common-pac-1.15.3-4.fc27.x86_64 sssd-ipa-1.15.3-4.fc27.x86_64 sssd-ad-1.15.3-4.fc27.x86_64 sssd-ldap-1.15.3-4.fc27.x86_64
You might use either libsss_nss_idmap.so or libsss_idmap.so libsss_idmap.so it depends on your use-case. libsss_idmap.so does not have python bindings.
Thanks for the pointer.
Right now, I need something I can use with python, but I may go back and try to roll python bindings for one or both of these once our immediate need is met.
James