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

Bug#311119: aeromail can't login



Package: aeromail
Version: 1.45-1.2
Severity: important


Aeromail can't login. It seems it doesn't work with the version of PHP
currently in sarge. The problem is that it uses $PHP_AUTH.. variables
instead of $_SERVER["$PHP_AUTH..."].

Here is a patch which fixes it for me:


--- /var/www/aeromail/global.inc.old    2005-05-28 21:38:22.692365763 +0200
+++ /var/www/aeromail/global.inc        2005-05-28 21:38:17.581995625 +0200
@@ -267,6 +267,9 @@
        exit;
 }

+$PHP_AUTH_USER = $_SERVER["PHP_AUTH_USER"];
+$PHP_AUTH_PW = $_SERVER["PHP_AUTH_PW"];
+
 if ((!$PHP_AUTH_USER) or (!$PHP_AUTH_PW) or ($time > time()))
 {
        login_prompt();


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=fr_FR.UTF-8@euro, LC_CTYPE=fr_FR.UTF-8@euro (charmap=UTF-8)

Versions of packages aeromail depends on:
ii  debconf                      1.4.30.13   Debian configuration management sy
ii  php4                         4:4.3.10-15 server-side, HTML-embedded scripti
ii  php4-imap                    4:4.3.10-15 IMAP module for php4

-- debconf information:
* aeromail/forcefrom: false
* aeromail/name: Le Mail a Bestouff
* aeromail/imapserver: awak
* aeromail/imaptype: Cyrus
* aeromail/maildomain: awak.dyndns.org




Reply to: