Displaying 4 results from an estimated 4 matches for "pam_extern".
2014 Jan 09
0
ANNOUNCE: cifs-utils release 6.3 ready for download
...screds_pam_update?:
pam_cifscreds.c:271:8: warning: variable ?addrs? set but not used [-Wunused-but-set-variable]
char *addrs[16];
^
pam_cifscreds.c: In function ?pam_sm_authenticate?:
pam_cifscreds.c:359:58: warning: unused parameter ?unused? [-Wunused-parameter]
PAM_EXTERN int pam_sm_authenticate(pam_handle_t *ph, int unused, int argc, const char **argv)
^
pam_cifscreds.c: In function ?pam_sm_open_session?:
pam_cifscreds.c:414:58: warning: unused parameter ?flags? [-Wunused-parameter]
PAM_EXTE...
2005 Aug 11
2
Make process stops with errors
...ax error:
possible missing ';' or ','?
"nsswitch/pam_winbind.c", line 459.15: 1506-277 (S) Syntax error:
possible missing ';' or ','?
"nsswitch/pam_winbind.c", line 448.1: 1506-485 (S) Parameter
declaration list is incompatible with declarator for PAM_EXTERN.
"nsswitch/pam_winbind.c", line 464.13: 1506-045 (S) Undeclared identifier ctrl.
"nsswitch/pam_winbind.c", line 469.6: 1506-273 (E) Missing type in
declaration of retval.
"nsswitch/pam_winbind.c", line 471.39: 1506-045 (S) Undeclared
identifier password.
"nsswitch...
2024 Sep 17
5
[Bug 3736] New: sshd falls back to password prompt after PAM module returns a PAM_MAXTRIES.
...$'
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 **argv)
{
return PAM_SUCCESS;
}
Expected behavior:
ssh connection attempt should instantly te...
2008 Nov 05
3
Keyboard-interactive authentication from a PAM module
Hello,
I am developing a PAM module that is called from OpenSSH server when a
ssh-client wants to login in the machine. I want my module PAM to send a
message to the ssh-client as soon as the PAM module is called by using the
pam_info function, but I have checked that the message is not instantly
shown in the client unless I send a prompt.
I would like to find a way to send the message instantly