diff options
author | Brian Cameron <brian.cameron@sun.com> | 2005-06-22 12:19:12 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2005-06-22 12:19:12 +0000 |
commit | 18308d6f0b1fcc049bcdc3fb11da4736451cf367 (patch) | |
tree | b8b11d53bef0db2ff6e3b762cb41fd326847b4a2 | |
parent | 5004d204809cc2018d72fd123fc3e7ef3f94b6a7 (diff) | |
download | gdm-18308d6f0b1fcc049bcdc3fb11da4736451cf367.tar.gz |
Minor correction to Solaris audit logic provided by Gary Winiger.
2005-06-22 Brian Cameron <brian.cameron@sun.com>
* verify-pam.c: Minor correction to Solaris
audit logic provided by Gary Winiger.
<Gary.Winiger@sun.com>
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | daemon/verify-pam.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,9 @@ dependant libraries and ensure they are included in the link statements for each binary. + * verify-pam.c: Minor correction to Solaris + audit logic provided by Gary Winiger. + <Gary.Winiger@sun.com> 2005-06-20 Brian Cameron <brian.cameron@sun.com> diff --git a/daemon/verify-pam.c b/daemon/verify-pam.c index 566214e3..830a38fe 100644 --- a/daemon/verify-pam.c +++ b/daemon/verify-pam.c @@ -188,7 +188,7 @@ audit_fail_login(GdmDisplay *d, int pw_change, struct passwd *pwent, } if (d->attached) { /* login from the local host */ - if (adt_load_hostname(NULL, &tid) != 0) { + if (adt_load_ttyname("/dev/console", &tid) != 0) { syslog(LOG_AUTH | LOG_ALERT, "adt_loadhostname(localhost): %m"); |