Our attempts to find your SCHEMA for "attributetypes" has return UNEXPECTED res
I am using openldap-2.3.27-4,openldap-clients-2.3.27-4
Previously i used fc2 and phpldapadmin-0.9.4b to set ldap up which works fine. but since upgrade to the above newer openldap and phpldapadmin versions, i face the followign problem. Upon setting up all configuration, and opening the page for ldap, i get the following error:
Our attempts to find your SCHEMA for "attributetypes" has return UNEXPECTED results.
(We expected a "resource" in the $schema array but it wasnt there.)
Please contact the phpLDAPadmin developers and let them know:
* Which LDAP server you are running, including which version
* What OS it is running on
* Which version of PHP
* As well as a link to some documentation that describes how to obtain the SCHEMA information
We'll then add support for your LDAP server in an upcoming release.
Dump of $schema_search:
I have googled and got the following suggested solutions from FAQ:
Q: I cannot view the schema, or I get the message "Our attempts to find your SCHEMA for 'objectclasses' have FAILED."
A: There is a known problem with PHP, that when we attempt to get the schema with a blank dn, php-ldap replaces the blank dn with the BASE entry in /etc/openldap/ldap.conf
Edit /etc/openldap/ldap.conf and comment out the BASE entry, then restart your webserver.
Q: I cannot view the schema, or I get the message "Our attempts to find your SCHEMA for 'objectclasses' have FAILED." (Another possibilty)
A: PLA relies heavily on being able to read the LDAP server schema. For those LDAP servers that provide ACL's (Access Control Lists), you must ensure that anonymous READ access to your schema is available.
This configuration between LDAP servers varies, for OpenLDAP, make sure you have this in your schema, if you use strict ACL's:
access to dn="cn=subschema"
by * read
I have tried both the above suggested solutions, still give me the same error...any idea what can be wrong.
There is not much difference from my previous successful configuration except this time the machine is fc6 rather than fc2, and the phpldapadmin is phpldapadmin-1.0.1 rather than phpldapadmin-0.9.4b.
Thanks for helping...