Koozali.org: home of the SME Server

phpmyadmin password

Offline portedaix

  • ***
  • 54
  • +0/-0
phpmyadmin password
« on: February 22, 2011, 07:06:26 PM »
Hello,

MY PROBLEM :
I installed phpmyadmin on a 8.0 smeserver version. It worked fine. Today I could not login. I cannot think of any change I made in the server... Updates...? I am not sure so far it is a bug a wrong setting somewhere.

QUICK AND VERY DIRTY FIX :
I found out that the admin login + password is the problem. phpmyadmin template is refering to '/etc/openldap/ldap.pw' and then writes my admin password with ascii character, encrypted (long chain) in 'usr/share/phpmyadmin/config.inc.php'. Even if I enter this ascii password for login in my web browsers, that does not work. As a test, I replaced the ascii password with my real password in 'usr/share/phpmyadmin/config.inc.php'. Then I could login. This solution is a very bad one, just to understand what the problem is. I could not imagine modifying the templates to have my real password there !

SOLUTION ?
What could be a good solution to have this password problem solved ?

Thanks for any hint
Olivier