diff options
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.c,v 1.70 2006/07/11 20:07:25 stevesk Exp $ */ | 1 | /* $OpenBSD: auth.c,v 1.71 2006/07/12 11:34:58 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -467,6 +467,9 @@ getpwnamallow(const char *user) | |||
467 | #endif | 467 | #endif |
468 | struct passwd *pw; | 468 | struct passwd *pw; |
469 | 469 | ||
470 | parse_server_match_config(&options, user, | ||
471 | get_canonical_hostname(options.use_dns), get_remote_ipaddr()); | ||
472 | |||
470 | pw = getpwnam(user); | 473 | pw = getpwnam(user); |
471 | if (pw == NULL) { | 474 | if (pw == NULL) { |
472 | logit("Invalid user %.100s from %.100s", | 475 | logit("Invalid user %.100s from %.100s", |