PAM & PHP: update

From: Date: Thu, 20 Jan 2000 21:34:42 +0000
Subject: PAM & PHP: update
Groups: php.dev 
Request: Send a blank email to php-dev+get-14791@lists.php.net to get a copy of this message
Hello all, Since there's been a lot more interest expressed in PAM support under PHP3 in the past two weeks than in the six months before that :), I've gone ahead and finished up the conversation support in php3_pam. At present, there's still no sample conversation function of any worth, but all the hooks are there now so that a suitably ambitious PHP coder could write one. Please note that, although this release is significantly closer to the goal of PAM support under PHP, there are some limitations; most notably, since there's currently no way to execute PHP code with different permissions than those of the web server (at least not when PHP is compiled as a module), authentication methods requiring root access will fail. This means that in general, authenticating against the local password database is not currently possible. The latest version is available from ftp://ftp.netexpress.net/pub/pam/php_pam-0.1.tgz. The name is no longer specific to PHP3, because I hope that soon the code won't be, either. (Any volunteers to help port to PHP4? :) Two sample php3 files are included in the distribution: the first, class.PAM.php3, is a sample wrapper class demonstrating the use of the PAM functions, and the second, PAM.php3, is sample code demonstrating the use of the wrapper class :) Any questions, comments, bug reports, etc, can be sent to me at vorlon@netexpress.net. Cheers, -Steve Langasek postmodern programmer

« previous php.dev (#14791) next »