|
Lines 483-488
sshpam_thread(void *ctxtp)
Link Here
|
| 483 |
goto auth_fail; |
483 |
goto auth_fail; |
| 484 |
sshpam_password_change_required(0); |
484 |
sshpam_password_change_required(0); |
| 485 |
} |
485 |
} |
|
|
486 |
sshpam_err = pam_setcred(sshpam_handle, PAM_ESTABLISH_CRED); |
| 487 |
if (sshpam_err != PAM_SUCCESS) |
| 488 |
goto auth_fail; |
| 486 |
} |
489 |
} |
| 487 |
|
490 |
|
| 488 |
buffer_put_cstring(&buffer, "OK"); |
491 |
buffer_put_cstring(&buffer, "OK"); |
|
Lines 935-940
do_pam_set_tty(const char *tty)
Link Here
|
| 935 |
void |
938 |
void |
| 936 |
do_pam_setcred(int init) |
939 |
do_pam_setcred(int init) |
| 937 |
{ |
940 |
{ |
|
|
941 |
if (compat20 && (sshpam_authenticated == 1)) |
| 942 |
return; /* pam_setcred already done */ |
| 938 |
sshpam_err = pam_set_item(sshpam_handle, PAM_CONV, |
943 |
sshpam_err = pam_set_item(sshpam_handle, PAM_CONV, |
| 939 |
(const void *)&store_conv); |
944 |
(const void *)&store_conv); |
| 940 |
if (sshpam_err != PAM_SUCCESS) |
945 |
if (sshpam_err != PAM_SUCCESS) |
| 941 |
- |
|
|