Your message dated Fri, 29 Jun 2007 20:51:59 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#401794: php5-auth-pam: does not work properly with 
libpam-radius-auth
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: php5-auth-pam
Version: 0.4-9+b1
Severity: important


I am expecting php5-auth-pam to work with the pam radius client
(libpam-radius-auth). It does work when using it as a root user.
However when using it as a normal user it does not.

$ cat /etc/pam.d/php
#auth       sufficient   pam_unix.so
auth       sufficient   pam_radius_auth.so

$ ls -alh /etc/pam_radius_auth.conf
-rw-r--r-- 1 root www-data 1.3K 2006-07-28 10:25
/etc/pam_radius_auth.conf

$ cat /usr/share/moodle/hello.php
<html>
<body>
<?php
$error;
if (pam_auth("radius_user", "radius_password", &$error)) {
        print "Authenticated\n";
} else {
        print "$error\n";
}
?>
</body>
</html>

$ php /usr/share/moodle/hello.php
<html>
<body>
Authentication service cannot retrieve authentication info.
</body>
</html>

the radius server logs corresponding to the above indicate
a successful authentication. this is confusing.

# php /usr/share/moodle/hello.php
<html>
<body>
Yeah baby, we're authenticated!
</body>
</html>

the radius server logs corresponding to the above indicate
a successful authentication. which is what we expect.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-3-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages php5-auth-pam depends on:
ii  debconf [debconf-2.0]        1.5.8       Debian configuration management sy
ii  libapache2-mod-php5 [phpapi- 5.2.0-7     server-side, HTML-embedded scripti
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libpam0g                     0.79-4      Pluggable Authentication Modules l
ii  php5-cli [phpapi-20060613+lf 5.2.0-7     command-line interpreter for the p

php5-auth-pam recommends no packages.

-- debconf information:
  php5/remove_extension: true
  php5/add_extension: true
  php5/extension_pam_auth_cli: true
  php5/extension_pam_auth_apache2: true


--- End Message ---
--- Begin Message ---
Closing this bug, because it's invalid, as described in my last mail.

--- End Message ---

Reply via email to