📄 rfc2927.txt
字号:
Network Working Group M. WahlRequest for Comments: 2927 Sun Microsystems, Inc.Category: Informational September 2000 MIME Directory Profile for LDAP SchemaStatus of this Memo This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.Copyright Notice Copyright (C) The Internet Society (2000). All Rights Reserved.Abstract This document defines a multipurpose internet mail extensions (MIME) directory profile for holding a lightweight directory access protocol (LDAP) schema. It is intended for communication with the Internet schema listing service. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [4].1. Overview This document defines how a MIME type may be used to transfer a single LDAPv3 schema definition. A schema for use with LDAPv3 consists of any number of object class, attribute type, matching rule and syntax definitions. These concepts are defined in the LDAPv3 protocol definition [2]. The schema MAY have a numeric OID assigned to it by a schema listing or registration service. A schema may import definitions from another schema. Schema imports are not, however, transitive. For example, a schema contains a definition for a "modem" object class, which is to be defined as a subclass of the X.521 "device" object class. In this case, the schema MUST import the definitions of X.521.Wahl Informational [Page 1]RFC 2927 MIME Directory Profile for LDAP Schema September 20002. The "schema-ldap-0" MIME Directory Profile Registration This profile is identified by the following registration template information. To: ietf-mime-direct@imc.org Subject: Registration of text/directory MIME profile "schema-ldap-0" Profile name: schema-ldap-0 Profile purpose: To represent a schema defined for use with LDAPv3 servers. Profile types: SOURCE, ldapSchemas, attributeTypes, matchingRules, objectClasses, matchingRuleUse, ldapSyntaxes Profile special notes: The charset parameter MUST be present on the MIME content, and the value of this parameter MUST be "utf-8". This ensures that schema values can be used in LDAPv3 attribute values without a character set translation. Neither the "BEGIN" and "END" types nor type grouping are used in contents of this profile. All of the types in this profile with the exception of ldapSchemas may be multi-valued. Each value is present on its own contentline. Values may be present in any order, and need not be arranged by type. The "SOURCE" type is optional, and if values are present they SHOULD be URIs of the "ldap" form. If the URI is of the "ldap" form, the object indicated by the URI is a subschema entry. The use of other forms are reserved for future applications. In this version of the profile, exactly one value of the ldapSchemas type MUST be present. (Later versions of the profile may permit multiple ldapSchemas values to be present in a content.) Implementors should note that there will likely be values of the profile types in most contents much longer than 76 bytes. In addition, there may be non-ASCII characters and embedded CRLFs inside of values, which could require either quoting of the value or use of a content transfer encoding.Wahl Informational [Page 2]RFC 2927 MIME Directory Profile for LDAP Schema September 2000 If a contentline in a particular content contains a "context" parameter and the value of that parameter is not "ldap", then that contentline SHOULD be ignored. Intended usage: COMMON3. MIME Directory Type Registrations This document defines all the types, with the exception of "SOURCE" used in the schema-ldap-0 profile. The "SOURCE" type is defined in [1]. These types are primarily intended for use in the "schema- ldap-0" directory profile, although they may be applicable to other profiles defined in the future.3.1. ldapSchemas To: ietf-mime-direct@imc.org Subject: Registration of text/directory MIME type ldapSchemas Type name: ldapSchemas Type purpose: To represent the LDAPv3 attribute "ldapSchemas", defined in section A.1. Type encoding: 8bit Type valuetype: text, encoded according to the BNF of section A.2. Type special notes: Each value of this type specifies the contents of an LDAP schema definition. A definition of each object class, attribute, matching rule, matching rule use and syntax referenced in a value of ldapSchemas MUST either be defined in one of the schemas referenced in the "IMPORTS" field, or present in the content containing this value. Intended usage: COMMON3.2. attributeTypes To: ietf-mime-direct@imc.org Subject: Registration of text/directory MIME type attributeTypes Type name: attributeTypes Type purpose: To represent the LDAPv3 attribute "attributeTypes", defined in section 5.1.6 of [4]. Type encoding: 8bitWahl Informational [Page 3]RFC 2927 MIME Directory Profile for LDAP Schema September 2000 Type valuetype: text, encoded according to the BNF of "AttributeTypeDescription" given in section 4.2 of [4]. Type special notes: Each value of the type specifies one LDAPv3 attribute type definition. The syntax and matching rules referenced in a value of attributeTypes MUST either be present in this content, or defined in one of the schemas referenced in the "IMPORTS" field of the ldapSchemas line. Intended usage: COMMON3.3. matchingRules To: ietf-mime-direct@imc.org Subject: Registration of text/directory MIME type matchingRules Type name: matchingRules Type purpose: To represent the LDAPv3 attribute "matchingRules", defined in section 5.1.8 of [4]. Type encoding: 8bit Type valuetype: text, encoded according to the BNF of "MatchingRuleDescription" given in section 4.5 of [4]. Type special notes: Each value of the type specifies one matching rule definition. The syntax reference in a value of matchingRules MUST either be present in this content, or defined in one of the schemas referenced in the "IMPORTS" field of the ldapSchemas line. Intended usage: COMMON3.4. objectClasses To: ietf-mime-direct@imc.org Subject: Registration of text/directory MIME type objectClasses Type name: objectClasses Type purpose: To represent the LDAPv3 attribute "objectClasses", defined in section 5.1.7 of [4]. Type encoding: 8bit Type valuetype: text, encoded according to the BNF of "ObjectClassDescription" given in section 4.4 of [4].Wahl Informational [Page 4]RFC 2927 MIME Directory Profile for LDAP Schema September 2000 Type special notes: Each value of the type specifies one LDAPv3 object class definition. The attributes and object classes referenced in a value of objectClasses MUST either be present in this content, or defined in one of the schema referenced in the "IMPORTS" field of the ldapSchemas line. Intended usage: COMMON3.5. matchingRuleUse To: ietf-mime-direct@imc.org Subject: Registration of text/directory MIME type matchingRuleUse Type name: matchingRuleUse Type purpose: To represent the LDAPv3 attribute "matchingRuleUse", defined in section 5.1.9 of [4]. Type encoding: 8bit Type valuetype: text, encoded according to the BNF of "MatchingRuleUseDescription" given in section 4.5 of [4]. Type special notes: Each value of the type specifies a relationship between a matching rule and attribute types. The matching rule and attribute types referenced in a value of matchingRuleUse MUST either be present in this content, or defined in one of the schemas referenced in the "IMPORTS" statement of the ldapSchemas line. Intended usage: COMMON3.6. ldapSyntaxes To: ietf-mime-direct@imc.org Subject: Registration of text/directory MIME type ldapSyntaxes Type name: ldapSyntaxes Type purpose: To represent the LDAPv3 attribute "ldapSyntaxes", defined in section 5.3.1 of [3]. Type encoding: 8bit Type valuetype: text, encoded according to the BNF of "SyntaxDescription" given in section 4.3.3 of [3].Wahl Informational [Page 5]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -