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
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!