3.1  Naming Scheme for the Schema   The schema information is stored in a distributed manner.  We propose
   a model in which each naming context stores the schema relevant to
   it.
                                Root
                                    \
                                     \
                        +-------------\----------------------+
                        |            C=IN            DSA-1   |
                        |          /      \                  |
                        |         /        \                 |
                        |        /          \                |
                        |       /            \               |
                        |      /          cn=subschema       |
                        |     /           /  / | \ \ \       |
                        |    /           /  /  |  \ \ \      |
                        |   /          oid= oid=             |
                        +--/---------------------------------+
                          /
  +----------------------/----------------------+
  |                o=IIT, Madras      DSA-2     |
  |                 /           \               |
  |                /             \              |
  |               /               \             |
  |              /                 \            |
  |         ou=CSE             cn=subschema     |
  |         /    \             /   /| \ \ \     |
  |        /      \           /   / |  \ \ \    |
  |ipni=spark  cn=Rajeev oid=ipni  oid=         |
  +---------------------------------------------+         Figure 1: DIT with schema objects
   To store the schema information, an object called subschema object is
   defined. This object can come anywhere in the Directory Information
   Tree (DIT). The subschema is defined as a subclass of Top.  The
   subschema entry is stored below the root entry of a naming context.
   The root entry of a naming context must contain a subschema subentry,
   named {CN= Subschema}.  This standard naming methodology is necessary
   so that the components of the directory can easily and
   algorithmically locate the schema entries.  All schema information
   relevant to that naming context is stored below the subschema entry.
   Children of the subschema entry store information about objects,
   attribute types, attribute syntaxes or matching rules. The DIT
   谁能解释一下?

解决方案 »

  1.   

    To store the schema information, an object called subschema object is
       defined. This object can come anywhere in the Directory Information
       Tree (DIT). The subschema is defined as a subclass of Top.  The
       subschema entry is stored below the root entry of a naming context.
       The root entry of a naming context must contain a subschema subentry,
       named {CN= Subschema}.  This standard naming methodology is necessary
       so that the components of the directory can easily and
       algorithmically locate the schema entries.  All schema information
       relevant to that naming context is stored below the subschema entry.
       Children of the subschema entry store information about objects,
       attribute types, attribute syntaxes or matching rules. 
       谁能解释一下?引子RFC1804
      

  2.   

    没人会吗?
      可以通过subSchema得到Attribute 的 Value吗?
      

  3.   

    ldap schema 主要是用来验证Entity完整性的schema有继承的关系,又具有db中table的一些功能可以定义非空属性,类型。。所有的schema都有至少有一个objectclass属性用来定义类名,类似于表名,
    所有的scheme都应该继承top类。详细的资料你可以弄一段schema看看,上手不会很难!