-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I wondered what part sshpam_thread() (in auth-pam.c) is playing wrt. PAM authentication. It seems to be never called from any other ssh code (judging from CVS as of 27.6.2004). I noticed this because the current openssh package in Debian unstable (3.8.1p1) is not calling the pam_authenticate() function at all, regardless of my configuration settings. In CVS this seems to be fixed with the recently added function sshpam_auth_passwd() in auth-pam.c. But what about sshpam_thread(), is this function unneeded now or should it be called from somewhere? Cheers, Bastian PS: Please CC me, I am not subscribed. - -- ,''`. Bastian Kleineidam . calvin (at) debian.org : :' : `. `' GnuPG Schl?ssel http://kampfwurst.net/gpgkey.txt `- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA3+nceBwlBDLsbz4RAvdvAJ9yr8rhRqcM4Chq95aYiwj8BfJnDwCfRAT8 b9dp/9DkoKfDz5u5QDxqtuo=tYai -----END PGP SIGNATURE-----
Bastian Kleineidam wrote:> I wondered what part sshpam_thread() (in auth-pam.c) is playing wrt. PAM > authentication. > It seems to be never called from any other ssh code (judging from CVS > as of 27.6.2004).Look for "pthread_create".> I noticed this because the current openssh package in Debian unstable > (3.8.1p1) is not calling the pam_authenticate() function at all, > regardless of my configuration settings.Try "PasswordAuthentication no", "ChallengeResponseAuthentication yes" and "UsePam yes".> In CVS this seems to be fixed with the recently added function > sshpam_auth_passwd() in auth-pam.c.3.7x and 3.8x do not support PasswordAuthentication via PAM, that was (re)added after 3.8.1p1.> But what about sshpam_thread(), is this function unneeded now or > should it be called from somewhere?It's used for the challengeresponse/keyboard-interactive authentication. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.