Unable to access Phpldapadmin with admin account

November 7, 2014 4.8k views

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->setValue('server','name','IN-BAN-AS01 LDAP Server');

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

  • 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 and login as anonymous but it rejects my password. for admin with the same error messages as for OP (Centest)

    Also if I enter ldapmodify in terminal it asks me for a password after I input it it says:

    ldap_sasl_interactive_bind_s: Invalid credentials (49)
                   additional info: SASL(-13): user not found: no secret in database
  • 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]

Be the first one to answer this question.