LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-04-2007, 07:49 PM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
Error Our attempts to find your SCHEMA for "attributetypes" has return UNEXPECTED res


Dear friends,


I am using openldap-2.3.27-4,openldap-clients-2.3.27-4
,openldap-servers-2.3.27-4, phpldapadmin-1.0.1.

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:

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:

a:1:{s:5:"count";i:0;}



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...

Regards
Y
 
  


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
"SCSI error: <0 0 0 0> return code = 0x70000" AndrewCAtWayofthebit Red Hat 22 11-04-2010 06:17 AM
What's the meaning of "PHP Parse error: parse error, unexpected $ in..." frandalla Programming 23 03-04-2009 12:34 PM
need help with "Parse error: parse error, unexpected T_STRING" coffee245 Programming 2 01-29-2007 11:53 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
Why there is an error like "Xlib:unexpected async reply" icoming Programming 0 02-16-2005 11:23 PM


All times are GMT -5. The time now is 11:35 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