diff options
author | mouring <mouring> | 2001-01-19 06:10:29 +0000 |
---|---|---|
committer | mouring <mouring> | 2001-01-19 06:10:29 +0000 |
commit | 4ed651cf5b90fd253d58061312f21fe40ccad96f (patch) | |
tree | fa3a0c8bfc458aaf74184a63f63dfb751bd138ad /auth1.c | |
parent | 36245bd72a905ec43214a1981094317ef8e01253 (diff) | |
download | openssh-4ed651cf5b90fd253d58061312f21fe40ccad96f.tar.gz |
- (bal) Minor cygwin patch to auth1.c. Suggested by djm.
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -329,13 +329,12 @@ do_authloop(Authctxt *authctxt) (int)pw->pw_uid); authenticated = 0; } -#endif - +#else /* Special handling for root */ if (authenticated && authctxt->pw->pw_uid == 0 && !auth_root_allowed()) authenticated = 0; - -#ifdef USE_PAM /* ISSUE: Right place? */ +#endif +#ifdef USE_PAM if (authenticated && !do_pam_account(pw->pw_name, client_user)) authenticated = 0; #endif |