LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Phpldapadmin error (https://www.linuxquestions.org/questions/linux-newbie-8/phpldapadmin-error-4175452363/)

newphoenixlinux 03-02-2013 04:27 AM

Phpldapadmin error
 
Hello,
I have setup an Ubuntu Server with openldap and phpldapadmin and have run the following on it:

apt-get install slapd ldap-utils - (I set the password as well)

and

apt-get install phpldapadmin

I have edited the /etc/ldap/ldap.conf and changed the the following lines:
BASE dc=linuxhome,dc=com
URI ldap:/192.168.2.9
I made sure to take out the # before base and uri as well.

I brought up a browser and typed in: http://192.168.2.9/phpldapadmin and the it comes up with the proper screen for me to login.

I noticed in the Login DN: it says cn=admin,dc=example,dc=com

I typed in my password I set and get the following error:

Unable to connect to LDAP server My LDAP Server
Error: Invalid credentials (49) for user

Failed to authenticate to server
Invalid Username and Password

Since I edited /etc/ldap/ldap.conf and put in my dc=linuxhome shouldn't the Login DN: reflect this?

Is there something else I need to do to login?

Thanks for your help!!!

bathory 03-02-2013 07:50 AM

Quote:

Since I edited /etc/ldap/ldap.conf and put in my dc=linuxhome shouldn't the Login DN: reflect this?

Is there something else I need to do to login?
You don't have to edit /etc/ldap/ldap.conf. You just need to configure your openldap server details in config.inc.php in order to be able to use phpldapadmin.
Read the instructions here

Regards


All times are GMT -5. The time now is 11:42 AM.