Skip site navigation (1)Skip section navigation (2)
Date:      02 Jul 2002 14:01:35 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        current@freebsd.org
Subject:   Re: PasswordAuthentication not works in sshd
Message-ID:  <xzpn0tacp9c.fsf@flood.ping.uio.no>
In-Reply-To: <20020702114530.GB837@nagual.pp.ru>
References:  <20020702114530.GB837@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" <ache@nagual.pp.ru> writes:
> I just upgrade to recent -current sshd and found that 
> PasswordAuthentication not works anymore (always fails, with right 
> password too). I not yet dig deeper at this moment, just FYI.

Try this:

===================================================================
RCS file: /home/ncvs/src/crypto/openssh/monitor.c,v
retrieving revision 1.6
diff -u -r1.6 monitor.c
--- monitor.c   29 Jun 2002 11:48:58 -0000      1.6
+++ monitor.c   2 Jul 2002 12:00:31 -0000
@@ -831,7 +831,7 @@
        auth_method = "keyboard-interactive/pam";
        if (ret == 0)
                pam_authok = pam_ctxt;
-       return (ret);
+       return (0);
 }

 int

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpn0tacp9c.fsf>