file header comment updated

This commit is contained in:
2018-11-14 09:30:54 -05:00
parent 0c909d5a93
commit eb4fd57eb9
9 changed files with 77 additions and 29 deletions
+8 -19
View File
@@ -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);
}*/