Code Monkey home page Code Monkey logo

Comments (4)

mstrcd avatar mstrcd commented on July 3, 2024

To fix this you have to make this change:

At /usr/share/phpldapadmin/lib/TemplateRender.php line 2469:

Replace
$default = $this->getServer()->getValue('appearance','password_hash');

With
$default = $this->getServer()->getValue('appearance','pla_password_hash');

from phpldapadmin.

pwdebruyne avatar pwdebruyne commented on July 3, 2024

I'm having the same issue (Ubuntu server, phpldapadmin 1.2.2-5).
Replacing this entry did not work.

from phpldapadmin.

vincentkersten avatar vincentkersten commented on July 3, 2024

Hi PLA ppl! Using your interface almost daily , so first of all thank you for all your hard work!
I can confirm this bug on debian - jessie - phpldapadmin 1.2.2-5.1
The fix mstrcd proposes does not work here either, even though i flushed the cache ; Ill try to install the newest version now...

from phpldapadmin.

vincentkersten avatar vincentkersten commented on July 3, 2024

I found the same pasword_hash w/o pla_ in front in the config.php file, but adding it there as did not resolve the issue.

However replacing the stock debian version with your version is quite easy:

git clone https://github.com/leenooks/phpLDAPadmin.git

# move it out of the way
mv /usr/share/phpldapadmin /tmp   
### (or apt-get remove phpldapdmin, but then hang on to your apache.conf in /etc/phpldapadmin)

# move the new one in place
mv phpLDAPadmin /usr/share/phpldapadmin

# get config and templates in /etc/phpldapadmin
cd /usr/share/phpldapadmin/config
ln -s /etc/phpldapadmin/config.php

# remove the old templates
rm -rf /etc/phpldapadmin/templates
cd /usr/share/phpldapadmin
mv templates /etc/phpldapadmin
ln -s /etc/phpldapadmin/templates

If you keep your old config (you are lazy :) ) You do need to add pla_ in front of password_hash in that case then, in the /etc/phpldapadmin/config.php file!

My2c

from phpldapadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.