URL:
https://github.com/SSSD/sssd/pull/433
Title: #433: PAM: Multiple certificates on a Smartcard
sumit-bose commented:
"""
@fidencio, thank you for the review. I used '0' instead of EOK here on purpose.
Although in the SSSD source tree the sss_certmap_* calls are coming from an external
library and the return code for success is '0' as documented in
src/lib/certmap/sss_certmap.h.
EOK is used by SSSD's internal calls and is currently defined as '0'. But in
theory it should be possible to set this to any int value and SSSD should keep working. I
pretty sure this would currently break heavily but that why I would prefer to not use EOK
for calls from external libraries.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/433#issuecomment-342808294