PAM Testing
Andreas Schneider
mail at cynapses.org
Wed Apr 29 10:31:23 UTC 2009
Hi,
at the SambaXP conference last week we talked about testing of PAM modules and
we want to do automatic testing. To do this in the Samba build farm we need a
separate pam.d config directory for testing. I've created a patch against
Linux-PAM which adds a function called pam_start_test(). The only difference
is, that it takes a config directory argument. pam_start() calls
pam_start_test() with NULL for the config directory and the default
(/etc/pam.d/) is used.
After this, I've created a patch for http://pamtester.soruceforge.net/ to use
pam_start_test() and added the possibility to specify the config directory via
a commandline option.
It would be great if this would be in a future PAM release.
Best regards,
-- andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pamtester_add_pam_start_test_support.patch
Type: text/x-patch
Size: 3531 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pam-list/attachments/20090429/42f485ea/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pam_test_start.patch
Type: text/x-patch
Size: 6396 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pam-list/attachments/20090429/42f485ea/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/pam-list/attachments/20090429/42f485ea/attachment.sig>
More information about the Pam-list
mailing list