Project

General

Profile

Tâche #10859

Distribution EOLE - Scénario #10860: Faire fonctionner l'authentification IMAP sur 2.5

"authProg" utilise une fonction PHP supprimée en 2.5

Added by Joël Cuissinat over 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/09/2015
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

root@scribe:~# /etc/courier/authProg 
PHP Fatal error:  Call to undefined function define_syslog_variables() in /etc/courier/authProg on line 59

Associated revisions

Revision 2098120e (diff)
Added by Joël Cuissinat about 8 years ago

Mise à niveau pour PHP 5.5

  • authProg : modification des lignes liées aux fonctions "syslog"

Ref: #10859 @1h

History

#1 Updated by Joël Cuissinat over 8 years ago

  • Parent task set to #10860

#2 Updated by Joël Cuissinat about 8 years ago

http://php.net/manual/en/function.define-syslog-variables.php

Si on supprime la ligne, il ne reste plus que des "notice" mais l'authentification IMAP est fonctionnelle.

PHP Notice:  Undefined variable: LOG_PID in /etc/courier/authProg on line 60
PHP Notice:  Undefined variable: LOG_AUTHPRIV in /etc/courier/authProg on line 60
PHP Notice:  Undefined variable: LOG_INFO in /etc/courier/authProg on line 83

Hum, il y a des "$" devant ces constantes...

#3 Updated by Joël Cuissinat about 8 years ago

Pour valider :
  • les tests unitaires suivants fournis par le paquet eole-scribe-tests doit passer :
    py.test /usr/share/scribe/tests/test_scribe.py
    
  • l'utilisateur admin peut se connecter en IMAP (ex : avec aca.scribe) :
    telnet 192.168.0.26 143
    . LOGIN admin eole
    . select inbox
    . fetch 1 body[header]
    . LOGOUT
    

#4 Updated by Scrum Master about 8 years ago

  • Description updated (diff)
  • Assigned To set to Joël Cuissinat

#5 Updated by Scrum Master about 8 years ago

  • Status changed from Nouveau to Résolu

#6 Updated by Joël Cuissinat about 8 years ago

  • Remaining (hours) changed from 3.0 to 0.5

#7 Updated by Philippe Caseiro about 8 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

#8 Updated by Joël Cuissinat about 8 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF