I put together a glue to the Pluggable Authentication Modules framework over the weekend. I've made it available to anyone who'd like to test it at the following address:
ftp://ftp.riverweb.com/pub/hww3/pike_modules/System_PAM-1.0.tar.gz
This requires a relatively recent version of Pike 7.5, ie .12 or .13 should be fine. The module is documented, though the autodoc extraction for C modules isn't currently working properly. Look at pam.cmod for the raw autodocs. If you're familiar with PAM, you shouldn't have any problems using this, and there are a few examples included.
I'd also be interested to hear of any design improvement type suggestions that might be floating out there, as this is my first "real" C module. I've built this module on Solaris and Linux, and have tested it under Solaris. I've tested it with dmalloc, so it shouldn't have any built in memory leaks during normal operation, but I've noticed the Solaris PAM implimentation seems to leak regardless depending on your authentication configuration (eg LDAP).
Bill