Skip to content
Snippets Groups Projects
Commit 00134ba9 authored by ale's avatar ale
Browse files

add a PAM account management hook

parent 2129f5dd
No related branches found
No related tags found
No related merge requests found
......@@ -203,13 +203,17 @@ PAM_EXTERN int pam_sm_setcred(pam_handle_t *pam, int flags, int argc, const char
return PAM_SUCCESS;
}
PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pam, int flags, int argc, const char **argv) {
return PAM_SUCCESS;
}
#ifdef PAM_STATIC
struct pam_module _pam_authclient_modstruct = {
"pam_authclient",
pam_sm_authenticate,
pam_sm_setcred,
NULL,
pam_sm_acct_mgmt,
NULL,
NULL,
NULL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment