Bug#761637: crashes at startup if appearance/password_hash is setup

2014-12-11 Thread Jakob Haufe
severity 761637 important
kthxbye

On Mon, 15 Sep 2014 11:36:14 +0200
Marc Dequènes (Duck) d...@duckcorp.org wrote:

 After upgrading from 1.2.2-5 to 1.2.2-5.1, the  
 appearance/password_hash setting is not accepted anymore, leading to  
 the following message:
Function error called incorrectly [ERROR: Setting a index  
 [appearance,password_hash] that isnt predefined.]
 
 I set this parameter with:
$servers-setValue('appearance','password_hash','ssha');
 similarly as in /usr/share/phpldapadmin/config/config.php.example.

Unfortunately, the PHP 5.5 compatibility fix applies in 1.2.2-5.1 is
incomplete.

The setting is no longer called password_hash but password_hash_custom.

In /usr/share/phpldapadmin/lib/TemplateRender.php line 2469, password_hash
has to be replaced by password_hash_custom.

Additionally, the example configuration files need to be updated to reflect
the new name of this configuration setting.

Raising severity to important as all entries containing a password fields are
impossible to create/edit. Other entries seem to be fine.

Cheers,
sur5r


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#761637: crashes at startup if appearance/password_hash is setup

2014-09-15 Thread Marc Dequènes (Duck)

Package: phpldapadmin
Version: 1.2.2-5.1
Severity: normal


Coin,

After upgrading from 1.2.2-5 to 1.2.2-5.1, the  
appearance/password_hash setting is not accepted anymore, leading to  
the following message:
  Function error called incorrectly [ERROR: Setting a index  
[appearance,password_hash] that isnt predefined.]


I set this parameter with:
  $servers-setValue('appearance','password_hash','ssha');
similarly as in /usr/share/phpldapadmin/config/config.php.example.

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages phpldapadmin depends on:
ii  apache22.4.10-1
ii  apache2-bin [httpd]2.4.10-1
ii  debconf [debconf-2.0]  1.5.53
ii  libapache2-mod-php55.6.0+dfsg-1
ii  php5-cli   5.6.0+dfsg-1
ii  php5-ldap  5.6.0+dfsg-1
ii  ucf3.0030

phpldapadmin recommends no packages.

phpldapadmin suggests no packages.

-- Configuration Files:
/etc/phpldapadmin/apache.conf changed [not included]
…

-- debconf information excluded

--
Marc Dequènes (Duck)



pgpekGMSF0D0E.pgp
Description: PGP Digital Signature