Bugzilla – Attachment 1632 Details for
Bug 1595
Server option PrintLastLog does not work on AIX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
port-aix.c patch
port-aix.c.diff (text/plain), 768 bytes, created by
Miguel Sanders
on 2009-05-04 02:11:05 AEST
(
hide
)
Description:
port-aix.c patch
Filename:
MIME Type:
Creator:
Miguel Sanders
Created:
2009-05-04 02:11:05 AEST
Size:
768 bytes
patch
obsolete
>--- port-aix.c 2008-03-09 06:36:55.000000000 +0100 >+++ port-aixnew.c 2009-05-03 17:30:57.000000000 +0200 >@@ -271,22 +271,23 @@ > return permitted; > } > > int > sys_auth_record_login(const char *user, const char *host, const char *ttynm, >- Buffer *loginmsg) >+ Buffer *loginmsg, int print_lastlog) > { > char *msg = NULL; > static int msg_done = 0; > int success = 0; > > aix_setauthdb(user); > if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) { > success = 1; > if (msg != NULL && loginmsg != NULL && !msg_done) { > debug("AIX/loginsuccess: msg %s", msg); >- buffer_append(loginmsg, msg, strlen(msg)); >+ if(print_lastlog) >+ buffer_append(loginmsg, msg, strlen(msg)); > xfree(msg); > msg_done = 1; > } > } > aix_restoreauthdb();
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 1595
:
1631
|
1632
|
1633
|
1634
|
1635
|
1636