]> andersk Git - openssh.git/blobdiff - auth.c
- stevesk@cvs.openbsd.org 2006/07/22 20:48:23
[openssh.git] / auth.c
diff --git a/auth.c b/auth.c
index 6901c936a3ff6a43ec5a8b436b8d8b936fb987a3..0f1d530e75cc73c1f7ea4a5393e97b05bc017d69 100644 (file)
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.69 2006/07/10 16:37:36 stevesk Exp $ */
+/* $OpenBSD: auth.c,v 1.72 2006/07/22 20:48:22 stevesk Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
@@ -28,6 +28,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
+#include <errno.h>
 #ifdef HAVE_PATHS_H
 # include <paths.h>
 #endif
@@ -42,6 +43,7 @@
 #include <libgen.h>
 #endif
 #include <stdarg.h>
+#include <string.h>
 
 #include "xmalloc.h"
 #include "match.h"
@@ -466,6 +468,9 @@ getpwnamallow(const char *user)
 #endif
        struct passwd *pw;
 
+       parse_server_match_config(&options, user,
+           get_canonical_hostname(options.use_dns), get_remote_ipaddr());
+
        pw = getpwnam(user);
        if (pw == NULL) {
                logit("Invalid user %.100s from %.100s",
This page took 0.197835 seconds and 4 git commands to generate.