Question

Unable to access Phpldapadmin with admin account

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 ??

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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: