- (dtucker) [session.c sshd.c] Bug #125 comment #49: Send disconnect audit

events earlier, prevents mm_request_send errors reported by Matt Goebel.
This commit is contained in:
Darren Tucker 2005-03-06 22:38:51 +11:00
parent 3745e2bb62
commit 2b59a6dad6
3 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,8 @@
20050306
- (dtucker) [monitor.c] Bug #125 comment #47: fix errors returned by monitor
when attempting to audit disconnect events. Reported by Phil Dibowitz.
- (dtucker) [session.c sshd.c] Bug #125 comment #49: Send disconnect audit
events earlier, prevents mm_request_send errors reported by Matt Goebel.
20050305
- (djm) [contrib/cygwin/README] Improve Cygwin build documentation. Patch
@ -2281,4 +2283,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3692 2005/03/06 11:31:35 dtucker Exp $
$Id: ChangeLog,v 1.3693 2005/03/06 11:38:51 dtucker Exp $

View File

@ -2344,10 +2344,6 @@ do_cleanup(Authctxt *authctxt)
}
#endif
#ifdef SSH_AUDIT_EVENTS
PRIVSEP(audit_event(SSH_CONNECTION_CLOSE));
#endif
/* remove agent socket */
auth_sock_cleanup_proc(authctxt->pw);

4
sshd.c
View File

@ -1728,6 +1728,10 @@ main(int ac, char **av)
finish_pam();
#endif /* USE_PAM */
#ifdef SSH_AUDIT_EVENTS
PRIVSEP(audit_event(SSH_CONNECTION_CLOSE));
#endif
packet_close();
if (use_privsep)