Testing PAM modules and applications in the Matrix
Andreas Schneider <[email protected]> Fri, 15 Jan 2016 11:53:18 +0100
| Newsgroups | gmane.linux.pam |
|---|---|
| Message-ID | <[email protected]> |
Jakub Hrozek and I are proud to announce the first release of pam_wrapper [1]. This tool allows you to either simplify testing of application using PAM or PAM modules. For testing PAM applications we have written a simple PAM module called pam_matrix. If you plan to test a PAM module you can use the pamtest library we have implemented. It simplifies testing of modules. You can combine it with the cmocka unit testing framework [2] or you can use the provided Python bindings to write tests for your module in Python. Jakub and I have written an article for LWN.net to provide more details how to use it. If you are a subscriber (it will be publicly accessible next Thursday), you can find it here: https://lwn.net/Articles/671094/ [1] https://cwrap.org/pam_wrapper.html [2] https://cmocka.org -- Andreas Schneider GPG-ID: CC014E3D Samba Team [email protected] www.samba.org