[Bug 128] New: PAM with ssh authentication and pam_krb5 doesn't work properly

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Feb 28 05:38:15 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=128

           Summary: PAM with ssh authentication and pam_krb5 doesn't work
                    properly
           Product: Portable OpenSSH
           Version: 3.0.2p1
          Platform: UltraSparc
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: b_smith44 at hotmail.com


when authenticating against pam_krb5 before pam_unix the user can not login, 
sshd logs the error "input_userauth_info_response_pam: no authentication 
context".

i don't know why this is failing, this patch fixes the problem by removing the 
check for an authentication context.

users can now login with the pam.conf entry:

sshd auth sufficient /usr/lib/security/$ISA/pam_krb5.so.1
sshd auth required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass


*** auth2-pam.c-        Tue Feb 26 15:30:14 2002
--- auth2-pam.c Tue Feb 26 15:31:26 2002
***************
*** 134,141 ****
--- 134,143 ----
       unsigned int nresp = 0, rlen = 0, i = 0;
       char *resp;

+ /*
       if (authctxt == NULL)
               fatal("input_userauth_info_response_pam: no authentication 
context");
+ */

       nresp = packet_get_int();       /* Number of responses. */
       debug("got %d responses", nresp);



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list