LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-16-2005, 03:14 AM   #1
Uday123
Member
 
Registered: Nov 2005
Posts: 80

Rep: Reputation: 15
Unable to get the ldaptree in phpLDAPadmin-tool


Hi,

I have successfully completed the configuration of the phpldapadmin. and i am able to login with any of the ldap user.But the problem is I didn't get the ldaptree.Instead of the ldaptree it is giving a message " Could not determine the root of your LDAP tree.It appears that the LDAP server has been configured to not reveal its root. Please specify it in config.php".

I am new to this tool.can you please guide me for setting up the configuration.Can you please send me the appropriate config.php file.
Can you please help me.
Thanks in advance.
 
Old 11-16-2005, 06:22 AM   #2
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
try this steps.

check this value:

$ldapservers->SetValue($i,'server','base',array(''));

change it to for "example.com"

$ldapservers->SetValue($i,'server','base',array('dc=example,dc=com'));

check this value:
$ldapservers->SetValue($i,'login','dn',' ');

chang it to

$ldapservers->SetValue($i,'login','dn','cn=Manager,dc=example,dc=com');


Note: You have to tweak the config.php reading the comments and make the phpldapadmin connection secure with apache+SSL

Here is my config.php if u want to use. Just search & replace dc=example,dc=com with your own domain name

http://d.turboupload.com/d/155737/config.php.html

Last edited by ~=gr3p=~; 11-16-2005 at 06:31 AM.
 
  


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
Can't create LDAP entries with phpldapadmin dlublink Linux - Networking 6 12-12-2007 04:41 AM
Unable to get the ldaptree in phpldapldap-tool Uday123 Linux - Enterprise 0 11-16-2005 03:11 AM
Unable to get the ldaptree in phpLDAPadmin Uday123 General 0 11-15-2005 06:42 AM
upgrade breaks phpldapadmin gdsword Debian 2 11-04-2005 04:41 AM
CUPS installed in Gentoo but unable to access web admin tool darin3200 Linux - Software 4 12-26-2003 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration