<div dir="ltr">I have username and md5 passwords in a cdb file. I need to use this for authentication in postfix. I guess writing a custom pam module will be far more efficient than using a pam_exec which will call an external program every time.<br><br>I started with this sample <a href="https://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-sample-module.html">https://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-sample-module.html</a><br><br>How can I have a persistent cdb handle , so that I need not open cdb file again and aga<br></div>