search for: pam_misc

Displaying 2 results from an estimated 2 matches for "pam_misc".

2024 Sep 17
5
[Bug 3736] New: sshd falls back to password prompt after PAM module returns a PAM_MAXTRIES.
...eysFile .ssh/authorized_keys # grep -v '#' /etc/pam.d/sshd | grep -v -e '^$' auth required pam_module.so Running on rocky94. The pam module, compiled with gcc -shared -o pam_module.so min.c -lpam, and put in /usr/lib64/security/pam_module.so: cat min.c #include <security/pam_misc.h> #include <security/pam_ext.h> #include <security/pam_modules.h> PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv) { return PAM_MAXTRIES; } PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **arg...
2007 Jun 05
2
pam_ldap-184 compile error
...e C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking for security/pam_appl.h... no checking for security/pam_misc.h... no checking for security/pam_modules.h... no checking for pam/pam_appl.h... no checking for pam/pam_misc.h... no checking for pam/pam_modules.h... no checking for des.h... no checking for crypt.h... yes checking for lber.h... yes checking for ldap.h... yes checking for ldap_ssl.h... no checkin...