I have implemented some (optional) sql hooks for my
onstart - called on opening session
onclose - called on closing session
onacctok - called in pam_sm_acct_mgmt if account is valid
onacctexpired - called in pam_sm_acct_mgmt if account
My knowlenge in C is very limited so code is terrible,
but it works for me. I have worked with pam_mysql-0.7RC1.
My e-mail to contact: evg(at)krastel.ru
P.S.: sorry for terrible English, I'm Russian.
Log in to post a comment.