Attention is currently required from: Frank Filz.

Lior Suliman would like Frank Filz to review this change.

View Change

Add support for a direct SSSD usage for idmapping

This CL adds support for direct SSSD idmapping
functionality. By implementing wrappers for the
relevant functions that are exposed via
libsss_nss_idmap.so.0.

The SSSD idmap implementation is selected if
the relevant module is available and the
enum PWNAM_IMPLEMENTATION__SSSD is passed to
pwnam_wrappers__set_implementation.

This implementation allows a Ganesha to perform
direct idmapping from a SSSD server.

The implementation is built by dynamically loading
the relevant library, the implementation of the
functions is also dynamic, which make this
implementation work only on systems that have the
sssd library installed.

Change-Id: If6160c5980b9743800a172deb316ae408d294abd
Signed-off-by: Lior Suliman <liorsu@gmail.com>
---
M src/idmapper/CMakeLists.txt
M src/idmapper/pwnam_wrappers.c
A src/idmapper/sss_nss_idmap.c
M src/include/pwnam_wrappers.h
A src/include/sss_nss_idmap.h
5 files changed, 389 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/98/1214098/1

To view, visit change 1214098. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If6160c5980b9743800a172deb316ae408d294abd
Gerrit-Change-Number: 1214098
Gerrit-PatchSet: 1
Gerrit-Owner: Lior Suliman <liorsu@google.com>
Gerrit-Reviewer: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-Attention: Frank Filz <ffilzlnx@mindspring.com>