diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | openbsd-compat/bsd-cray.c | 6 | ||||
-rw-r--r-- | openbsd-compat/port-aix.c | 2 |
3 files changed, 6 insertions, 5 deletions
@@ -14,6 +14,7 @@ | |||
14 | - (djm) Fix portable-specific uses of verify_reverse_mapping too | 14 | - (djm) Fix portable-specific uses of verify_reverse_mapping too |
15 | - (djm) Sync openbsd-compat with OpenBSD CVS. | 15 | - (djm) Sync openbsd-compat with OpenBSD CVS. |
16 | - No more 4-term BSD licenses in our tree | 16 | - No more 4-term BSD licenses in our tree |
17 | - (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping. | ||
17 | 18 | ||
18 | 20030602 | 19 | 20030602 |
19 | - (djm) Fix segv from bad reordering in auth-pam.c | 20 | - (djm) Fix segv from bad reordering in auth-pam.c |
@@ -420,4 +421,4 @@ | |||
420 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 421 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
421 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 422 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
422 | 423 | ||
423 | $Id: ChangeLog,v 1.2767 2003/06/03 02:43:14 djm Exp $ | 424 | $Id: ChangeLog,v 1.2768 2003/06/03 02:45:27 dtucker Exp $ |
diff --git a/openbsd-compat/bsd-cray.c b/openbsd-compat/bsd-cray.c index bff0fea3a..f2ac428cc 100644 --- a/openbsd-compat/bsd-cray.c +++ b/openbsd-compat/bsd-cray.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: bsd-cray.c,v 1.11 2003/05/18 14:13:38 djm Exp $ | 2 | * $Id: bsd-cray.c,v 1.12 2003/06/03 02:45:27 dtucker Exp $ |
3 | * | 3 | * |
4 | * bsd-cray.c | 4 | * bsd-cray.c |
5 | * | 5 | * |
@@ -103,7 +103,7 @@ cray_login_failure(char *username, int errcode) | |||
103 | memset(&fsent, '\0', sizeof(fsent)); | 103 | memset(&fsent, '\0', sizeof(fsent)); |
104 | fsent.revision = 0; | 104 | fsent.revision = 0; |
105 | fsent.uname = username; | 105 | fsent.uname = username; |
106 | fsent.host = (char *)get_canonical_hostname(options.verify_reverse_mapping); | 106 | fsent.host = (char *)get_canonical_hostname(options.use_dns); |
107 | fsent.ttyn = "sshd"; | 107 | fsent.ttyn = "sshd"; |
108 | fsent.caller = IA_SSHD; | 108 | fsent.caller = IA_SSHD; |
109 | fsent.flags = IA_INTERACTIVE; | 109 | fsent.flags = IA_INTERACTIVE; |
@@ -199,7 +199,7 @@ cray_setup (uid_t uid, char *username, const char *command) | |||
199 | } | 199 | } |
200 | hostname[0] = '\0'; | 200 | hostname[0] = '\0'; |
201 | strlcpy(hostname, | 201 | strlcpy(hostname, |
202 | (char *)get_canonical_hostname(options.verify_reverse_mapping), | 202 | (char *)get_canonical_hostname(options.use_dns), |
203 | MAXHOSTNAMELEN); | 203 | MAXHOSTNAMELEN); |
204 | /* | 204 | /* |
205 | * Fetch user's UDB entry. | 205 | * Fetch user's UDB entry. |
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index f192a4e79..b4c9454a1 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -68,7 +68,7 @@ aix_usrinfo(struct passwd *pw) | |||
68 | void | 68 | void |
69 | record_failed_login(const char *user, const char *ttyname) | 69 | record_failed_login(const char *user, const char *ttyname) |
70 | { | 70 | { |
71 | char *hostname = get_canonical_hostname(options.verify_reverse_mapping); | 71 | char *hostname = get_canonical_hostname(options.use_dns); |
72 | 72 | ||
73 | loginfailed(user, hostname, ttyname); | 73 | loginfailed(user, hostname, ttyname); |
74 | } | 74 | } |