Use the "sshd" service instead of "csshd". The latter was only needed

because of bugs (incorrect design decisions, actually) in Linux-PAM.

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
Dag-Erling Smørgrav 2002-03-21 12:23:09 +00:00
parent da4dc1eeb5
commit fe49ecbc93
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92878

View File

@ -280,7 +280,7 @@ do_authloop(Authctxt *authctxt)
#ifdef USE_PAM
case SSH_CMSG_AUTH_TIS:
debug("rcvd SSH_CMSG_AUTH_TIS: Trying PAM");
pam_cookie = ipam_start_auth("csshd", pw->pw_name);
pam_cookie = ipam_start_auth("sshd", pw->pw_name);
/* We now have data available to send as a challenge */
if (pam_cookie->num_msg != 1 ||
(pam_cookie->msg[0]->msg_style != PAM_PROMPT_ECHO_OFF &&