pecl/PAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've recently installed the pecl/PAM module, however, it appears that it is not functioning as it should. It's returning a value of 1, even if the username and password are completely incorrect.

This is the file I'm using to test:
development# cat test.php
<?php
if(pam_auth('sfdfgfdu', '0blah0') == 1) {
        echo "YAY!";
} else {
        echo "BOO!";
}
?>

I've created the /etc/pam.d/php file using pam_unix.so as the library, and added pam.servicename = "php"; to the top of my php.ini file. I'm on FreeBSD 7.0-RELEASE, PHP 5.2.5, and Apache 2.2.

Any assistance would be appreciated.

Thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux