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 ??
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.
×
Same here on Ubuntu Server 14.04, fresh install for testing purposes, the only packages installed on UBuntu server are: slapd ldap-utils phpldapadmin.
Left everything on example.com.
i can connect to 192.168.0.14/phpldapadmin and login as anonymous but it rejects my password. for admin with the same error messages as for OP (Centest)
EDIT
Also if I enter
ldapmodify
in terminal it asks me for a password after I input it it says:Anyone, anyone? I’m in the same boat as elemer82 (i.e., Ubuntu 14.04). Why is it that nothing ever seems to work out-of-the-box on that OS? Despite the friendly interface, it’s seeming more and more like the least utilitarian Linux there is at this point. About 90% of my time with Ubuntu is unbillable “WhyTF doesn’t this work the documented way?!” research time. [sigh]