- (bal) Minor cygwin patch to auth1.c. Suggested by djm.
This commit is contained in:
parent
b100ec9542
commit
5dc81502cb
|
@ -20,6 +20,7 @@
|
||||||
- (djm) Merge patch from Tim Waugh (via Nalin Dahyabhai <nalin@redhat.com>)
|
- (djm) Merge patch from Tim Waugh (via Nalin Dahyabhai <nalin@redhat.com>)
|
||||||
to fix NULL pointer deref and fake authloop breakage in PAM code.
|
to fix NULL pointer deref and fake authloop breakage in PAM code.
|
||||||
- (bal) Updated contrib/cygwin/ by Corinna Vinschen <vinschen@redhat.com>
|
- (bal) Updated contrib/cygwin/ by Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
- (bal) Minor cygwin patch to auth1.c. Suggested by djm.
|
||||||
|
|
||||||
20010118
|
20010118
|
||||||
- (bal) Super Sized OpenBSD Resync
|
- (bal) Super Sized OpenBSD Resync
|
||||||
|
|
7
auth1.c
7
auth1.c
|
@ -329,13 +329,12 @@ do_authloop(Authctxt *authctxt)
|
||||||
(int)pw->pw_uid);
|
(int)pw->pw_uid);
|
||||||
authenticated = 0;
|
authenticated = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
/* Special handling for root */
|
/* Special handling for root */
|
||||||
if (authenticated && authctxt->pw->pw_uid == 0 && !auth_root_allowed())
|
if (authenticated && authctxt->pw->pw_uid == 0 && !auth_root_allowed())
|
||||||
authenticated = 0;
|
authenticated = 0;
|
||||||
|
#endif
|
||||||
#ifdef USE_PAM /* ISSUE: Right place? */
|
#ifdef USE_PAM
|
||||||
if (authenticated && !do_pam_account(pw->pw_name, client_user))
|
if (authenticated && !do_pam_account(pw->pw_name, client_user))
|
||||||
authenticated = 0;
|
authenticated = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue