diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2019-02-20 13:41:24 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-02-22 05:04:16 +0100 |
commit | f02afa350afac1b2f2d1413259a27a4ba1e2ca24 (patch) | |
tree | c568d26fa3747cfe35d86b46df84d5bcc0417245 /groupaccess.c | |
parent | Add tags to .gitignore (diff) | |
download | openssh-f02afa350afac1b2f2d1413259a27a4ba1e2ca24.tar.xz openssh-f02afa350afac1b2f2d1413259a27a4ba1e2ca24.zip |
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 'groupaccess.c')
-rw-r--r-- | groupaccess.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/groupaccess.c b/groupaccess.c index 9e4d25521..43367990d 100644 --- a/groupaccess.c +++ b/groupaccess.c @@ -103,7 +103,11 @@ ga_match_pattern_list(const char *group_pattern) int i, found = 0; for (i = 0; i < ngroups; i++) { +#ifndef HAVE_CYGWIN switch (match_pattern_list(groups_byname[i], group_pattern, 0)) { +#else + switch (match_pattern_list(groups_byname[i], group_pattern, 1)) { +#endif case -1: return 0; /* Negated match wins */ case 0: |