search for: pam_conv_error

Displaying 1 result from an estimated 1 matches for "pam_conv_error".

Did you mean: pam_conv_err
2009 Sep 08
1
openssh, pam, challenge-response problem
...quest and type PAM_PROMPT_ECHO_ON, to present the challenge-request to user and to retrieve the challenge-response. OpenSSH sets the PAM_CONV function to sshpam_passwd_conv() (defined in pam_auth.c). But this function doesn't have implemented the PAM_PROMPT_ECHO_ON flavor, and returns the PAM_CONV_ERROR :-( It should be possible to implement the PAM_PROMPT_ECHO_ON conversation either with read()/write() or with fdopen()/fprintf()/fgets()/fclose() (as is done similary for stdin in sshpam_tty_conv()), but we need the socket. The only way to pass the information into the pam module is by Authct...