Howard Lowndes wrote:
I am trying to get the rootDSE to work in openldap but phpldapadmin is
coming back with:
"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've seen this one before, very befuddling. What version of phpldapadmin
are you using?
Newer releases are starting to implement a new XML-based templating
system to replace the old PHP templating. In the process, a number of
the releases pushed out in the last few months are horribly buggy.
I think you'll find that the underlying code for talking with OpenLDAP
doesn't actually exist in the release you're using, however i'm sure
you'll find the developers kindly put in code for talking to Netscape
Directory Server - completely useless to you and the 90% of users of
phpldapadmin.
IIRC, i've had this exact same problem on 0.9.8-beta 1 and 2, but i've
noticed that recent stable releases are starting to implement the new
templating system too (uck!), so you might be experiencing the same
problem as what I was.
This is a really great example of how *not* to manage your open source
project. Pushing development code out into stable releases without
updating the documentation or at /least/ the changelog throws users into
the deep end with no points of reference as to why things break so badly.
I only worked out why I was getting this error because I hacked the code
and realised there were such large gaping holes. This experience with
phpldapadmin has left a somewhat bitter taste in my mouth about it, and
i'm a lot more cautious now about using it.
I'd suggest dropping back to 0.9.6 if you can - probably the most stable
and featureful release the phpldapadmin crew have pushed out to date.
There are one or two things not implemented quite right, but otherwise
it's very usable.
Lindsay
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html