mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
- (dtucker) [auth.c] Do not check for locked accounts when PAM is enabled.
This commit is contained in:
parent
2fae867806
commit
43a0dc6653
@ -35,6 +35,7 @@
|
|||||||
- (dtucker) [Makefile.in] Remove auth2-krb5.
|
- (dtucker) [Makefile.in] Remove auth2-krb5.
|
||||||
- (dtucker) [contrib/aix/inventory.sh] Add public domain notice. ok mouring@
|
- (dtucker) [contrib/aix/inventory.sh] Add public domain notice. ok mouring@
|
||||||
(the original author)
|
(the original author)
|
||||||
|
- (dtucker) [auth.c] Do not check for locked accounts when PAM is enabled.
|
||||||
|
|
||||||
20030825
|
20030825
|
||||||
- (djm) Bug #621: Select OpenSC keys by usage attributes. Patch from
|
- (djm) Bug #621: Select OpenSC keys by usage attributes. Patch from
|
||||||
@ -907,4 +908,4 @@
|
|||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2916 2003/08/26 03:43:12 dtucker Exp $
|
$Id: ChangeLog,v 1.2917 2003/08/26 04:22:12 dtucker Exp $
|
||||||
|
4
auth.c
4
auth.c
@ -73,7 +73,7 @@ int
|
|||||||
allowed_user(struct passwd * pw)
|
allowed_user(struct passwd * pw)
|
||||||
{
|
{
|
||||||
struct stat st;
|
struct stat st;
|
||||||
const char *hostname = NULL, *ipaddr = NULL, *passwd;
|
const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL;
|
||||||
char *shell;
|
char *shell;
|
||||||
int i;
|
int i;
|
||||||
#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW)
|
#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW)
|
||||||
@ -131,7 +131,7 @@ allowed_user(struct passwd * pw)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* check for locked account */
|
/* check for locked account */
|
||||||
if (passwd && *passwd) {
|
if (!options.use_pam && passwd && *passwd) {
|
||||||
int locked = 0;
|
int locked = 0;
|
||||||
|
|
||||||
#ifdef LOCKED_PASSWD_STRING
|
#ifdef LOCKED_PASSWD_STRING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user