summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth1.c b/auth1.c
index 2df2de897..b480fdbec 100644
--- a/auth1.c
+++ b/auth1.c
@@ -322,7 +322,7 @@ do_authloop(Authctxt *authctxt)
322 fatal("INTERNAL ERROR: authenticated invalid user %s", 322 fatal("INTERNAL ERROR: authenticated invalid user %s",
323 authctxt->user); 323 authctxt->user);
324 324
325#ifdef HAVE_CYGWIN /* ISSUE: Right place? */ 325#ifdef HAVE_CYGWIN
326 if (authenticated && 326 if (authenticated &&
327 !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD,pw->pw_uid)) { 327 !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD,pw->pw_uid)) {
328 packet_disconnect("Authentication rejected for uid %d.", 328 packet_disconnect("Authentication rejected for uid %d.",