commit | 3f0786bbe73609ac96e5a0d91425ee21129f8e04 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Sun Jan 20 10:22:18 2019 +1100 |
committer | Damien Miller <djm@mindrot.org> | Sun Jan 20 10:22:18 2019 +1100 |
tree | be9ab562ad56a3948fee1f27fc9a13e4700b3661 | |
parent | 08f66d9f17e12c1140d1f1cf5c4dce67e915d3cc [diff] [blame] |
remove PAM dependencies on old packet API Requires some caching of values, because the PAM code isn't always called with packet context.
diff --git a/monitor.c b/monitor.c index 1dcf930..5fa30b2 100644 --- a/monitor.c +++ b/monitor.c
@@ -991,7 +991,7 @@ if (!options.use_pam) fatal("UsePAM not set, but ended up in %s anyway", __func__); - start_pam(authctxt); + start_pam(ssh); monitor_permit(mon_dispatch, MONITOR_REQ_PAM_ACCOUNT, 1); if (options.kbd_interactive_authentication)