Bugzilla – Attachment 140 Details for
Bug 355
No last login message with PrivSep under AIX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Move loginsuccess call into auth.c so it works with privsep on
openssh-aixloginsuccess.patch (text/plain), 1.52 KB, created by
Darren Tucker
on 2002-08-25 18:14:29 AEST
(
hide
)
Description:
Move loginsuccess call into auth.c so it works with privsep on
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2002-08-25 18:14:29 AEST
Size:
1.52 KB
patch
obsolete
>Index: auth.c >=================================================================== >RCS file: /cvs/openssh/auth.c,v >retrieving revision 1.57 >diff -u -r1.57 auth.c >--- auth.c 20 Aug 2002 18:42:14 -0000 1.57 >+++ auth.c 25 Aug 2002 08:02:56 -0000 >@@ -54,6 +54,9 @@ > > /* import */ > extern ServerOptions options; >+#ifdef WITH_AIXAUTHENTICATE >+extern char *aixloginmsg; >+#endif /* WITH_AIXAUTHENTICATE */ > > /* Debugging messages */ > Buffer auth_debug; >@@ -216,6 +219,12 @@ > } > return 0; > } >+ >+ /* We don't have a pty yet, so just label the line as "ssh" */ >+ if (loginsuccess(pw->pw_name, >+ get_canonical_hostname(options.verify_reverse_mapping), >+ "ssh", &aixloginmsg) < 0) >+ aixloginmsg = NULL; > #endif /* WITH_AIXAUTHENTICATE */ > > /* We found no reason not to let this user try to log on... */ >Index: session.c >=================================================================== >RCS file: /cvs/openssh/session.c,v >retrieving revision 1.215 >diff -u -r1.215 session.c >--- session.c 1 Aug 2002 01:28:39 -0000 1.215 >+++ session.c 25 Aug 2002 08:03:22 -0000 >@@ -210,13 +210,6 @@ > close(startup_pipe); > startup_pipe = -1; > } >-#ifdef WITH_AIXAUTHENTICATE >- /* We don't have a pty yet, so just label the line as "ssh" */ >- if (loginsuccess(authctxt->user, >- get_canonical_hostname(options.verify_reverse_mapping), >- "ssh", &aixloginmsg) < 0) >- aixloginmsg = NULL; >-#endif /* WITH_AIXAUTHENTICATE */ > > /* setup the channel layer */ > if (!no_port_forwarding_flag && options.allow_tcp_forwarding)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 355
:
140
|
141
|
142