----- Original Message ----- > On Sun, Jan 26, 2014 at 9:36 PM, Simo Sorce < s...@redhat.com > wrote:
> > I think we should have a conversation with them because this code could > > be also contributed directly to linux-nfs instead of sssd as it is now. > That was my initial intention too, but after reading looking into the sssd > source code and the various clients it provides, it felt more appropriate to > make this plugin part of the sssd project. > However, for that we'll need to have public API to access sssd. At the > moment, I only see "sss_nss_idmap.h", "sss_idmap.h" & "ipa_hbac.h" publicly > exported. Am I missing something here? Well, technically getpw[nam|uid] and getgr[nam|gid] will give you access to the same data you are now pulling from sssd, or you can call the sssd client functions directly, if you are so inclined, by dlopening() the libnss_sss.so library and using the same standard interface glibc uses, eg: _nss_sss_getpwnam_r(); _nss_sss_getpwuid_r(); .. etc... Simo. -- Simo Sorce * Red Hat, Inc. * New York _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-devel