summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-02 23:30:24 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-02 23:30:24 +1100
commit2fba993080eba14e339d6a6666ee79580ee20f97 (patch)
tree0b7bc9ce53758047f3a844b0f9d5679ace5e94eb /defines.h
parent9dc6c7dbec0716157e561036c480bca1bc3c7e47 (diff)
- (dtucker) [auth.c canohost.c canohost.h configure.ac defines.h loginrec.c]
Bug #974: Teach sshd to write failed login records to btmp for failed auth attempts (currently only for password, kbdint and C/R, only on Linux and HP-UX), based on code from login.c from util-linux. With ashok_kovai at hotmail.com, ok djm@
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 8c1d9c409..4d59408ad 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.117 2004/06/22 03:27:16 dtucker Exp $ */ 28/* $Id: defines.h,v 1.118 2005/02/02 12:30:25 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -644,6 +644,15 @@ struct winsize {
644# define CUSTOM_SYS_AUTH_PASSWD 1 644# define CUSTOM_SYS_AUTH_PASSWD 1
645#endif 645#endif
646 646
647/* HP-UX 11.11 */
648#ifdef BTMP_FILE
649# define _PATH_BTMP BTMP_FILE
650#endif
651
652#if defined(USE_BTMP) && defined(_PATH_BTMP)
653# define CUSTOM_FAILED_LOGIN
654#endif
655
647/** end of login recorder definitions */ 656/** end of login recorder definitions */
648 657
649#endif /* _DEFINES_H */ 658#endif /* _DEFINES_H */