We are using Ubuntu 18.04 with sssd 1.16.1-1ubuntu1.8.
sssd is being used to allow users to sign in with SSH keys matched against keys stored in OpenLDAP. This has been used for several years but, just recently, a couple of users were reporting that they could not SSH to the server. Further investigation showed that running "sss_ssh_authorizedkeys" for these specific users returned "Error looking up public keys". The tool continues to work correctly for other users.
I cannot find any information that might suggest why the tool is not managing to get the keys for these users.
I have tried building the code from the GitHub source but it errors out with this:
In file included from ./src/util/sss_pam_data.h:33:0, from src/util/sss_pam_data.c:27: ./src/util/debug.h:92:44: error: unknown type name ‘uid_t’; did you mean ‘__id_t’? int chown_debug_file(const char *filename, uid_t uid, gid_t gid); ^~~~~ __id_t ./src/util/debug.h:92:55: error: unknown type name ‘gid_t’; did you mean ‘__id_t’? int chown_debug_file(const char *filename, uid_t uid, gid_t gid); ^~~~~ __id_t Makefile:22359: recipe for target 'src/util/libsss_util_la-sss_pam_data.lo' failed
Can anyone suggest how I can troubleshoot this tool in order to fix the error or how I can get it to build on Ubuntu?
Thanks.
Philip