[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Obtaining the schema



Ok, thanks, rc6 works !

Manu.

----- Original Message ----- 
From: "Rozonkiewiecz, Mitchell P" <Mitchell.Rozonkiewiecz@ca.com>
To: "Emmanuel Blot" <eblotml@free.fr>; <openldap-software@OpenLDAP.org>
Sent: Saturday, June 21, 2003 5:15 AM
Subject: RE: Obtaining the schema 


Pickup the current copy from http://sourceforge.net/projects/jxplorer/

Mitch

-----Original Message-----
From: Emmanuel Blot [mailto:eblotml@free.fr] 
Sent: Friday, June 20, 2003 7:43 PM
To: openldap-software@OpenLDAP.org
Subject: Obtaining the schema 

Hi,

I have a LDAP v3 database (OpenLDAP 2.1), and the JXplorer tool wants to
retrieve the LDAP
directory schema dynamically from the server.
I never used this feature, and for now, it seems it does not work.

OpenLDAP keeps replying there is no entry matching to the "cn=schema"
request sent by JXplorer.
I went through different email of the mailing list archive, but I was
not able to find a clear
description of what is required to use this feature (retrieving the
directory schema with an
LDAP 'search' request).

1/ Do I need to add something to the actual directory shema
(/etc/openldap/schema/*.schema
files) ?
   grep subschema *   as well as grep subentry * returned nothing.
   Aren't these attribute description supposed to be defined in the
*.schema files ?

2/ What would be a valid LDAP search request to retrieve the directory
schema of my LDAP
database ?
  I tried:
     ldapsearch -D "cn=subschema" -b "ou=Anciens,o=ANIENIB,c=FR"
'objectclass=schema'
     ldapsearch -D "cn=schema" -b "ou=Anciens,o=ANIENIB,c=FR"
'objectclass=schema'
     ldapsearch -D "cn=subschema" -b "ou=Anciens,o=ANIENIB,c=FR"
'objectclass=subschema'
  with no success.

Sorry if this looks like very stupid, I really lost with this LDAP
feature, and I was not able
to find any document for beginner either on the web site or in the
mailing list archive.
  If there is such a document, or a previous email answer, please let me
now its URL or its
reference.

Thanks in advance,
Emmanuel.