file header comment updated
This commit is contained in:
+8
-19
@@ -1,23 +1,17 @@
|
||||
|
||||
/////
|
||||
//
|
||||
// File : absec_pam.c
|
||||
// Author : Jean-Luc Cyr
|
||||
// Date : 2018-10
|
||||
//
|
||||
// Description: Using PAM as authentification method
|
||||
//
|
||||
|
||||
#include "absec_authen.h"
|
||||
|
||||
#include <security/pam_appl.h>
|
||||
#include <security/pam_misc.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
/* Check user autentication against unix user/pass */
|
||||
/*static int check_autentication(request_rec *r)
|
||||
{
|
||||
return 0;
|
||||
}*/
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
/* Check check file perms */
|
||||
/*static int check_autorization(request_rec *r)
|
||||
{
|
||||
return 0;
|
||||
}*/
|
||||
|
||||
// Global var for passing fake response to PAM callback
|
||||
struct pam_response *reply;
|
||||
@@ -59,8 +53,3 @@ int check_user(char* user, char* pass) {
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
/*void main(int argc, char** argv) {
|
||||
printf("absec_pam OK\n");
|
||||
exit(0);
|
||||
}*/
|
||||
Reference in New Issue
Block a user