diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2019-02-20 13:41:24 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-02-22 15:04:16 +1100 |
commit | f02afa350afac1b2f2d1413259a27a4ba1e2ca24 (patch) | |
tree | c568d26fa3747cfe35d86b46df84d5bcc0417245 /servconf.c | |
parent | 4c55b674835478eb80a1a7aeae588aa654e2a433 (diff) |
Revert "[auth.c] On Cygwin, refuse usernames that have differences in case"
This reverts commit acc9b29486dfd649dfda474e5c1a03b317449f1c.
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Diffstat (limited to 'servconf.c')
-rw-r--r-- | servconf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/servconf.c b/servconf.c index d9680aba1..4fa896fd4 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -1049,7 +1049,11 @@ match_cfg_line(char **condition, int line, struct connection_info *ci) | |||
1049 | } | 1049 | } |
1050 | if (ci->user == NULL) | 1050 | if (ci->user == NULL) |
1051 | match_test_missing_fatal("User", "user"); | 1051 | match_test_missing_fatal("User", "user"); |
1052 | #ifndef HAVE_CYGWIN | ||
1052 | if (match_pattern_list(ci->user, arg, 0) != 1) | 1053 | if (match_pattern_list(ci->user, arg, 0) != 1) |
1054 | #else | ||
1055 | if (match_pattern_list(ci->user, arg, 1) != 1) | ||
1056 | #endif | ||
1053 | result = 0; | 1057 | result = 0; |
1054 | else | 1058 | else |
1055 | debug("user %.100s matched 'User %.100s' at " | 1059 | debug("user %.100s matched 'User %.100s' at " |