Unable to access Phpldapadmin with admin account

Posted November 7, 2014 20.3k views

I installed Phpldapadmin in Debian Wheezy. I followed all the steps to configure Phpldapadmin as given in 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 ??

edited by asb
  • 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
    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]

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.

Submit an Answer
1 answer

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:

by Brian Boucheron
In this guide, we will discuss how to install and configure the OpenLDAP server on Ubuntu 16.04. We will then install phpLDAPadmin, a web interface for viewing and manipulating LDAP information. We will secure the web interface and the LDAP service with SSL certificates from Let's Encrypt, a provider of free and automated certificates.