custom pam module to authenticate from a cdb file

Ramprasad Padmanabhan <[email protected]> Mon, 19 Jan 2015 15:58:12 +0530
Newsgroups gmane.linux.pam
Message-ID <CAB3mGZvv1ZXsM=+5qp98GxpFgpSH2-fY6iafJJO2AnRzuaa5dQ@mail.gmail.com>
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.

I started with this sample
https://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-sample-module.html

How can I have a persistent cdb handle , so that I need not open cdb file
again and aga

_______________________________________________
Pam-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pam-list