comparison svr-authpam.c @ 435:337c45621e81

merge of 'a9b0496634cdd25647b65e585cc3240f3fa699ee' and 'c22be8b8f570b48e9662dac32c7b3e7148a42206'
author Matt Johnston <matt@ucc.asn.au>
date Thu, 22 Feb 2007 14:53:49 +0000
parents 517e76bdfb2d
children 4317be8b7cf9
comparison
equal deleted inserted replaced
434:0aaaf68e97dc 435:337c45621e81
29 #include "session.h" 29 #include "session.h"
30 #include "buffer.h" 30 #include "buffer.h"
31 #include "dbutil.h" 31 #include "dbutil.h"
32 #include "auth.h" 32 #include "auth.h"
33 33
34 #ifdef ENABLE_SVR_PAM_AUTH
35
34 #if defined(HAVE_SECURITY_PAM_APPL_H) 36 #if defined(HAVE_SECURITY_PAM_APPL_H)
35 #include <security/pam_appl.h> 37 #include <security/pam_appl.h>
36 #elif defined (HAVE_PAM_PAM_APPL_H) 38 #elif defined (HAVE_PAM_PAM_APPL_H)
37 #include <pam/pam_appl.h> 39 #include <pam/pam_appl.h>
38 #endif 40 #endif
39
40 #ifdef ENABLE_SVR_PAM_AUTH
41 41
42 struct UserDataS { 42 struct UserDataS {
43 char* user; 43 char* user;
44 char* passwd; 44 char* passwd;
45 }; 45 };