Report this

What is the reason for this report?

Unable to access Phpldapadmin with admin account

Posted on November 7, 2014

I installed Phpldapadmin in Debian Wheezy. I followed all the steps to configure Phpldapadmin as given in https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-a-basic-ldap-server-on-an-ubuntu-12-04-vps. I’m able to login as Anonymous and but not as Admin.

Here is /etc/phpldapadmin/config.php

$servers->newServer('ldap_pla');
$servers->setValue('server','name','IN-BAN-AS01 LDAP Server');
$servers->setValue('server','host','192.168.x.x');
$servers->setValue('server','port',389);
$servers->setValue('server','base',array('dc=cti,dc=paris'));
$servers->setValue('login','auth_type','cookie');
$servers->setValue('login','bind_id','cn=admin,dc=cti,dc=paris');
$servers->setValue('login','bind_pass','xxx');
$servers->setValue('server','tls',false);

After modifying config.php, restarted apache service /etc/init.d/apache2 restart

Here is the error, when I login with admin account

“Unable to connect to LDAP server My LDAP Server Error: Invalid credentials (49) for user error Failed to Authenticate to server Invalid Username or Password.”

Where else I need to modify, to access admin account ??



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Sorry to see that your question hasn’t received an answer yet. Unfortunately, after this much time, it is unlikely that an answer for this specific question will be provided. For people still landing here via search, check out this updated tutorial. It shows you how to get up and running with phpLDAPadmin on Ubuntu:

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.