- (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping.
This commit is contained in:
parent
048d88d5aa
commit
eb28cbc399
|
@ -14,6 +14,7 @@
|
||||||
- (djm) Fix portable-specific uses of verify_reverse_mapping too
|
- (djm) Fix portable-specific uses of verify_reverse_mapping too
|
||||||
- (djm) Sync openbsd-compat with OpenBSD CVS.
|
- (djm) Sync openbsd-compat with OpenBSD CVS.
|
||||||
- No more 4-term BSD licenses in our tree
|
- No more 4-term BSD licenses in our tree
|
||||||
|
- (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping.
|
||||||
|
|
||||||
20030602
|
20030602
|
||||||
- (djm) Fix segv from bad reordering in auth-pam.c
|
- (djm) Fix segv from bad reordering in auth-pam.c
|
||||||
|
@ -420,4 +421,4 @@
|
||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2767 2003/06/03 02:43:14 djm Exp $
|
$Id: ChangeLog,v 1.2768 2003/06/03 02:45:27 dtucker Exp $
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* $Id: bsd-cray.c,v 1.11 2003/05/18 14:13:38 djm Exp $
|
* $Id: bsd-cray.c,v 1.12 2003/06/03 02:45:27 dtucker Exp $
|
||||||
*
|
*
|
||||||
* bsd-cray.c
|
* bsd-cray.c
|
||||||
*
|
*
|
||||||
|
@ -103,7 +103,7 @@ cray_login_failure(char *username, int errcode)
|
||||||
memset(&fsent, '\0', sizeof(fsent));
|
memset(&fsent, '\0', sizeof(fsent));
|
||||||
fsent.revision = 0;
|
fsent.revision = 0;
|
||||||
fsent.uname = username;
|
fsent.uname = username;
|
||||||
fsent.host = (char *)get_canonical_hostname(options.verify_reverse_mapping);
|
fsent.host = (char *)get_canonical_hostname(options.use_dns);
|
||||||
fsent.ttyn = "sshd";
|
fsent.ttyn = "sshd";
|
||||||
fsent.caller = IA_SSHD;
|
fsent.caller = IA_SSHD;
|
||||||
fsent.flags = IA_INTERACTIVE;
|
fsent.flags = IA_INTERACTIVE;
|
||||||
|
@ -199,7 +199,7 @@ cray_setup (uid_t uid, char *username, const char *command)
|
||||||
}
|
}
|
||||||
hostname[0] = '\0';
|
hostname[0] = '\0';
|
||||||
strlcpy(hostname,
|
strlcpy(hostname,
|
||||||
(char *)get_canonical_hostname(options.verify_reverse_mapping),
|
(char *)get_canonical_hostname(options.use_dns),
|
||||||
MAXHOSTNAMELEN);
|
MAXHOSTNAMELEN);
|
||||||
/*
|
/*
|
||||||
* Fetch user's UDB entry.
|
* Fetch user's UDB entry.
|
||||||
|
|
|
@ -68,7 +68,7 @@ aix_usrinfo(struct passwd *pw)
|
||||||
void
|
void
|
||||||
record_failed_login(const char *user, const char *ttyname)
|
record_failed_login(const char *user, const char *ttyname)
|
||||||
{
|
{
|
||||||
char *hostname = get_canonical_hostname(options.verify_reverse_mapping);
|
char *hostname = get_canonical_hostname(options.use_dns);
|
||||||
|
|
||||||
loginfailed(user, hostname, ttyname);
|
loginfailed(user, hostname, ttyname);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue