Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phpldapadmin tree view not working (Partially solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Fri May 19, 2006 7:53 pm    Post subject: phpldapadmin tree view not working (Partially solved) Reply with quote

I had this working fine until recently when I upgraded to 0.9.8.2 of phpldapadmin, from 0.9.7.x. I can't get the tree view enabled whatsoever to make changes to the LDAP server. Perhaps it's in my config.php file: here it is:
Code:
$config->custom->session['blowfish'] = '';
$ldapservers->SetValue($i,'server','name','My Company's Name');
$ldapservers->SetValue($i,'server','host','127.0.0.1');
$ldapservers->SetValue($i,'server','port','389');
$ldapservers->SetValue($i,'server','auth_type','cookie');
$ldapservers->SetValue($i,'login','dn','');
$ldapservers->SetValue($i,'login','pass','');


I am running Apache 2.0.55, and PHP 5.0.5 as well. I am having the same problem with versions 0.9.8.2, 0.9.8.3, and 1.0.1 (this one apparently is designed for php5). Any ideas?
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein


Last edited by GoofballJM1 on Mon May 22, 2006 5:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
taciturnus
n00b
n00b


Joined: 05 Apr 2005
Posts: 36

PostPosted: Fri May 19, 2006 8:34 pm    Post subject: Reply with quote

This is complete config.php?
What about
Code:
$i=0;
$ldapservers = new LDAPServers;

Quote:
I can't get the tree view enabled

What does it mean?
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Fri May 19, 2006 9:07 pm    Post subject: Reply with quote

taciturnus wrote:
This is complete config.php?
What about
Code:
$i=0;
$ldapservers = new LDAPServers;


Yes, they are in there as well, I apologize for not listing them

taciturnus wrote:
What does it mean?


phpldapadmin allows you view the contents of your directory in a tree format (with the '+' and '-' next to each OU). I had this working at one point, but now it doesn't display any information within the LDAP directory.
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
taciturnus
n00b
n00b


Joined: 05 Apr 2005
Posts: 36

PostPosted: Fri May 19, 2006 9:53 pm    Post subject: Reply with quote

I have php-5.1.2 and phpldapadmin-0.9.7 working OK.
Is it possible to downgrade to 0.9.7 and try?
No changes in LDAP configuration?
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Fri May 19, 2006 10:37 pm    Post subject: Reply with quote

0.9.7 is no longer in portage. config.php is different as well as being in a different location (config/config.php).

No changes whatsoever to my LDAP configuration.
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Mon May 22, 2006 5:24 pm    Post subject: Reply with quote

I installed php4 and phpldapadmin works fine. Unfortunately, Horde 3.0.9 stops working. I don't want to install both PHP4 and PHP5 on my machine for just phpldapadmin to work. Any other ideas?

EDIT: I upgraded PHP to 5.1 and phpldapadmin works fine, but horde isn't compatible. I ended up downloading 0.9.7.2 from sourceforge, and that is working just fine.
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
taciturnus
n00b
n00b


Joined: 05 Apr 2005
Posts: 36

PostPosted: Mon May 22, 2006 8:13 pm    Post subject: Reply with quote

I have
  • php-5.1.4
  • phpldapadmin-1.0.1
  • lighttpd-1.3.16
working OK :?
I
  • upgraded php, phpldapadmin
  • edited <phpldapadmindir>/config/config.php
  • removed old <phpldapadmindir>/config.php
and everything worked...
Have you edited new config or copied old one?
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Mon May 22, 2006 8:33 pm    Post subject: Reply with quote

taciturnus wrote:
I have
  • php-5.1.4
  • phpldapadmin-1.0.1
  • lighttpd-1.3.16
working OK :?
I
  • upgraded php, phpldapadmin
  • edited <phpldapadmindir>/config/config.php
  • removed old <phpldapadmindir>/config.php
and everything worked...
Have you edited new config or copied old one?


I figured out that phpLDAPAdmin is apparently not compatible with 5.0.5, which is what I am running. I reported the bug to the phpldapadmin crew.
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum