LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-02-2013, 04:27 AM   #1
newphoenixlinux
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
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!!!
 
Old 03-02-2013, 07:50 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
phpldapadmin naren_bishayee Linux - Software 3 08-18-2012 07:21 AM
Can't logon to PhPldapadmin MheAd Linux - Server 14 05-23-2012 03:34 PM
phpldapadmin prajyot04 Linux - Newbie 1 04-07-2009 08:51 AM
phpldapadmin error depam Linux - Software 5 08-31-2006 01:27 PM
Phpldapadmin problem leiw Linux - General 2 07-25-2006 02:18 AM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration