logo       

New extension proposal: PAM: msg#00023

php.pecl.devel

Subject: New extension proposal: PAM

PAM (Pluggable Authentication Modules) is a system of libraries that
handle the authentication tasks of applications and services. The
library provides a stable API for applications to defer to for
authentication tasks. For a list of supported schemes see

http://www.kernel.org/pub/linux/libs/pam/modules.html

This extension enables PAM authentication from within PHP, providing a
single function

bool pam_auth(string username, string password [, string error])

This is simply an update and PECL import of the existing "pam_auth"
extension from

http://www.math.ohio-state.edu/~ccunning/pam_auth/

The current "pam_auth" extension doesn't compile with ZTS enabled,
hasn't been updated since 2003 and I've been unable to reach the author
with a patch or subsequent questions about a proposed PECL release at
any of the mail addresses I found (no replies from @math.ohio-state.edu
and bounce from @zdnetmail.com). The extension is "PHP version 4.0"
licensed so a PECL release shouldn't be a problem.

Package download available at

http://www.synd.info/extensions/pam/

Source code at

http://svn.synd.info/synd/extensions/pam/
http://svn.synd.info/cgi-bin/viewcvs.cgi/synd/extensions/pam/

You will need the libpam and libpam-devel packages included with most
distributions in order to compile the extension.

I already have a pecl.php.net and CVS account but, should the proposal
be accepted, I would need CVS karma for pecl/pam.

//Mikael



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise