auth-pam.c (faebc97a1cb4f0a36a39f0ba9c1b266e070c5f4f) | auth-pam.c (b2af61ec69826890d075ceb3e20e206be20d6fea) |
---|---|
1/*- 2 * Copyright (c) 2002 Networks Associates Technology, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by ThinkSec AS and 6 * NAI Labs, the Security Research Division of Network Associates, Inc. 7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 8 * DARPA CHATS research program. --- 84 unchanged lines hidden (view full) --- 93#include "misc.h" 94#include "servconf.h" 95#include "ssh2.h" 96#include "auth-options.h" 97#ifdef GSSAPI 98#include "ssh-gss.h" 99#endif 100#include "monitor_wrap.h" | 1/*- 2 * Copyright (c) 2002 Networks Associates Technology, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by ThinkSec AS and 6 * NAI Labs, the Security Research Division of Network Associates, Inc. 7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 8 * DARPA CHATS research program. --- 84 unchanged lines hidden (view full) --- 93#include "misc.h" 94#include "servconf.h" 95#include "ssh2.h" 96#include "auth-options.h" 97#ifdef GSSAPI 98#include "ssh-gss.h" 99#endif 100#include "monitor_wrap.h" |
101#include "blacklist_client.h" |
|
101 102extern ServerOptions options; 103extern Buffer loginmsg; 104extern int compat20; 105extern u_int utmp_len; 106 107/* so we don't silently change behaviour */ 108#ifdef USE_POSIX_THREADS --- 680 unchanged lines hidden (view full) --- 789 "failed"); 790 import_environments(&buffer); 791 *num = 0; 792 **echo_on = 0; 793 ctxt->pam_done = 1; 794 free(msg); 795 return (0); 796 } | 102 103extern ServerOptions options; 104extern Buffer loginmsg; 105extern int compat20; 106extern u_int utmp_len; 107 108/* so we don't silently change behaviour */ 109#ifdef USE_POSIX_THREADS --- 680 unchanged lines hidden (view full) --- 790 "failed"); 791 import_environments(&buffer); 792 *num = 0; 793 **echo_on = 0; 794 ctxt->pam_done = 1; 795 free(msg); 796 return (0); 797 } |
798 BLACKLIST_NOTIFY(BLACKLIST_AUTH_FAIL); |
|
797 error("PAM: %s for %s%.100s from %.100s", msg, 798 sshpam_authctxt->valid ? "" : "illegal user ", 799 sshpam_authctxt->user, 800 get_remote_name_or_ip(utmp_len, options.use_dns)); 801 /* FALLTHROUGH */ 802 default: 803 *num = 0; 804 **echo_on = 0; --- 416 unchanged lines hidden --- | 799 error("PAM: %s for %s%.100s from %.100s", msg, 800 sshpam_authctxt->valid ? "" : "illegal user ", 801 sshpam_authctxt->user, 802 get_remote_name_or_ip(utmp_len, options.use_dns)); 803 /* FALLTHROUGH */ 804 default: 805 *num = 0; 806 **echo_on = 0; --- 416 unchanged lines hidden --- |