[Bug 983] Required authentication

bugzilla-daemon at mindrot.org
Thu, 29 Nov 2012 15:11:00 -0000

Petr Lautrbach <plautrba at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #60 from Petr Lautrbach <plautrba at redhat.com> ---
It doesn't work for me with "UsePAM yes" and
"AuthenticationMethods
password,publickey". After successful password authentication I get:

debug3: PAM: sshpam_passwd_conv called with 1 messages
debug1: PAM: password authentication accepted for plautrba
debug3: mm_answer_authpassword: sending result 1
debug3: mm_request_send entering: type 11
debug3: auth2_update_methods_lists: updating methods list after
"password"
debug3: authentication methods list 0 remaining: "publickey"
debug3: monitor_child_preauth: method password: partial
Failed password for plautrba from 127.0.0.1 port 60646 ssh2
debug3: mm_auth_password: user authenticated [preauth]
debug3: mm_do_pam_account entering [preauth]
debug3: mm_request_send entering: type 46 [preauth]
debug3: mm_request_receive_expect entering: type 47 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 46
debug1: do_pam_account: called
debug3: PAM: do_pam_account pam_acct_mgmt = 0 (Success)
debug3: mm_request_send entering: type 47
debug3: auth2_update_methods_lists: updating methods list after
"unknown"
auth2_update_methods_lists: method not in AuthenticationMethods