
pam_auth is a simple extension to allow you to authenticate people using pam.
It consists of only one very easy to use function. 

I will now proceed to explain how to use it in one easy step. Please be sure to
read all of the instructions in the INSTALL file prior to trying it out.

The following code snippet shows the complete usage of pam_auth.

<?
if (pam_auth($username, $password, &$error)) {
	echo "Yeah baby, we're authenticated!";
} else {
	echo $error;
}
?>

That's it! It takes three arguments. First the username, second the password,
and second a variable to collect the error (must be passed by reference, note
the &).

