RFC2926 日本語訳

2926 Conversion of LDAP Schemas to and from SLP Templates. J. Kempf,R. Moats, P. St. Pierre. September 2000. (Format: TXT=55365 bytes) (Status: INFORMATIONAL)
プログラムでの自動翻訳です。
英語原文

Network Working Group                                           J. Kempf
Request for Comments: 2926                        Sun Microsystems, Inc.
Category: Informational                                         R. Moats
                                                            Coreon, Inc.
                                                           P. St. Pierre
                                                  Sun Microsystems, Inc.
                                                          September 2000

コメントを求めるワーキンググループJ.ケンフの要求をネットワークでつないでください: 2926年のサン・マイクロシステムズ・インクカテゴリ: 情報のR.の堀のCoreon Inc.P.サン・ピエール島サン・マイクロシステムズ・インク2000年9月

          Conversion of LDAP Schemas to and from SLP Templates

テンプレートとSLPテンプレートからのLDAP Schemasの変換

Status of this Memo

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

Copyright(C)インターネット協会(2000)。 All rights reserved。

Abstract

要約

   This document describes a procedure for mapping between Service
   Location Protocol (SLP) service advertisements and lightweight
   directory access protocol (LDAP) descriptions of services.  The
   document covers two aspects of the mapping.  One aspect is mapping
   between SLP service type templates and LDAP directory schema.
   Because the SLP service type template grammar is relatively simple,
   mapping from service type templates to LDAP types is straightforward.
   Mapping in the other direction is straightforward if the attributes
   are restricted to use just a few of the syntaxes defined in RFC 2252.
   If arbitrary ASN.1 types occur in the schema, then the mapping is
   more complex and may even be impossible.  The second aspect is
   representation of service information in an LDAP directory.  The
   recommended representation simplifies interoperability with SLP by
   allowing SLP directory agents to backend into LDAP directory servers.
   The resulting system allows service advertisements to propagate
   easily between SLP and LDAP.

このドキュメントはService Locationプロトコル(SLP)サービス広告と軽量のディレクトリアクセス・プロトコル(LDAP)の間でサービスの記述を写像するための手順について説明します。 ドキュメントはマッピングの2つの局面をカバーしています。 1つの局面がSLPサービスタイプテンプレートとLDAPディレクトリ図式の間のマッピングです。 SLPサービスタイプテンプレート文法が比較的簡単であるので、サービスタイプテンプレートからLDAPまでタイプを写像するのは簡単です。 属性がまさしくRFC2252で定義された構文のいくつかを使用するために制限されるなら、もう片方の方向によるマッピングは簡単です。 任意のASN.1タイプが図式で起こるなら、マッピングは、より複雑であり、不可能でさえあるかもしれません。 第2の面はLDAPディレクトリで、サービス情報の表現です。 お勧めの表現は、SLPと共にバックエンドへのSLPディレクトリエージェントのLDAPディレクトリサーバに入ることを許すことによって、相互運用性を簡素化します。 結果として起こるシステムで、サービス広告はSLPとLDAPの間で容易に伝播されます。

Kempf, et al.                Informational                      [Page 1]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[1ページ]のRFC2926変換

Table of Contents

目次

   1.0 Introduction ................................................  2
   2.0 Mapping SLP Templates to LDAP Schema ........................  3
     2.1 Mapping from SLP Attribute Types to LDAP Attribute Types ..  8
       2.1.1 Integer ...............................................  8
       2.1.2 String ................................................  8
       2.1.3 Boolean ...............................................  9
       2.1.4 Opaque ................................................  9
     2.2 Keyword Attributes ........................................  9
     2.3 Template Flags ............................................  9
       2.3.1 Multi-valued ..........................................  9
       2.3.2 Optional .............................................. 10
       2.3.3 Literal ............................................... 10
       2.3.4 Explicit Matching ..................................... 10
     2.4 Default and Allowed Value Lists ........................... 10
     2.5 Descriptive Text .......................................... 11
     2.6 Generating LDAP Attribute OIDs ............................ 11
     2.7 Example ................................................... 11
   3.0 Attribute Name Conflicts .................................... 15
   4.0 Mapping from Schema to Templates ............................ 15
     4.1 Mapping LDAP Attribute Types to SLP Attribute Types ....... 16
     4.2 Mapping ASN.1 Types to SLP Types .......................... 17
       4.2.1 Integer ............................................... 18
       4.2.2 Boolean ............................................... 18
       4.2.3 Enumerated ............................................ 18
       4.2.4 Object Identifier ..................................... 19
       4.2.5 Octet String .......................................... 19
       4.2.6 Real .................................................. 19
     4.3 Example ASN.1 Schema ...................................... 19
   5.0 Representing SLP Service Advertisements in an LDAP DIT ...... 22
   6.0 Internationalization Considerations ......................... 24
   7.0 Security Considerations ..................................... 24
   8.0 References .................................................. 25
   9.0 Authors' Addresses .......................................... 26
   10.0 Full Copyright Statement ................................... 27

1.0序論… 2 2.0 SLPテンプレートをLDAP図式に写像します… 3 2.1 SLP属性タイプからLDAPまで属性タイプを写像します。 8 2.1 .1整数… 8 2.1 .2 結びます。 8 2.1 .3論理演算子… 9 2.1 .4 不透明にします。 9 2.2 キーワード属性… 9 2.3テンプレートは弛みます… 9 2.3 .1 マルチ評価される… 9 2.3 .2 任意… 10 2.3 .3リテラル… 10 2.3 .4 明白なマッチング… 10 2.4 デフォルトと許容値は記載します… 10 2.5 描写的であるテキスト… 11 LDAPを生成する2.6がOIDsを結果と考えます… 11 2.7の例… 11 3.0 名前闘争を結果と考えてください… 15 4.0 図式からテンプレートまで写像します。 15 4.1 LDAPをSLPへの属性タイプが結果と考える写像するのはタイプされます… 16 4.2 ASN.1を写像するのはSLPタイプにタイプされます… 17 4.2 .1整数… 18 4.2 .2論理演算子… 18 4.2 .3 列挙されます… 18 4.2 .4オブジェクト識別子… 19 4.2 .5八重奏ストリング… 19 4.2 .6 本当… 19 4.3 例のASN.1図式… 19 SLPを表す5.0がLDAPデイットにおける広告を修理します… 22 6.0 国際化問題… 24 7.0 セキュリティ問題… 24 8.0の参照箇所… 25 9.0人の作者のアドレス… 26 10.0 完全な著作権宣言文… 27

1.0 Introduction

1.0 序論

   SLP templates [1] are intended to create a simple encoding of the
   syntactic and semantic conventions for individual service types,
   their attributes, and conventions.  They can easily be generated,
   transmitted, read by humans and parsed by programs, as it is a string
   based syntax with required comments.  Directory schemas serve to
   formalize directory entry structures for use with LDAP [2] These
   directories serve to store information about many types of entities.
   Network services are an example of one such entity.

SLPテンプレート[1]が独特のサービスタイプ、彼らの属性、およびコンベンションのために構文的、そして、意味的なコンベンションの簡単なコード化を作成することを意図します。 プログラムで容易にそれらを生成して、伝えられて、人間によって読まれて、分析できます、ストリングが必要なコメントがある構文を基礎づけたということであるので。 ディレクトリschemasは、使用のためにこれらのディレクトリが多くのタイプの実体の情報を保存するために役立つLDAP[2]でディレクトリエントリ構造を正式にするのに役立ちます。 ネットワーク・サービスはそのような実体の1つに関する例です。

Kempf, et al.                Informational                      [Page 2]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[2ページ]のRFC2926変換

   Interoperability between SLP and LDAP is important so clients using
   one protocol derive benefit from services registered through the
   other. In addition, LDAP directory servers can serve as the backend
   for SLP directory agents (DAs) if interoperability is possible In
   order to facilitate interoperability, this document creates mappings
   between the SLP template grammar and LDAP directory schema, and
   establishes some conventions for representing service advertisements
   in LDAP directories. The goal of the translation is to allow SLPv2
   queries (which are syntactically and semantically equivalent to
   LDAPv3 string queries [7]) to be submitted to an LDAP directory
   server by an SLP DA backended into LDAP without extensive processing
   by the DA.

SLPとLDAPの間の相互運用性が重要であるので、1つのプロトコルを使用しているクライアントが利益にもう片方を通して登録されたサービスに由来しています。 さらに、LDAPディレクトリサーバが相互運用性が相互運用性を容易にする可能なIn命令であるならSLPディレクトリエージェント(DAs)のためのバックエンドとして機能できて、このドキュメントは、SLPテンプレート文法とLDAPディレクトリ図式の間でマッピングを作成して、サービス広告を表すためにLDAPディレクトリにいくつかのコンベンションを設立します。 翻訳の目標はSLPv2質問を許すことです。(DAによってLDAPへのSLP DA backendedによって大規模な処理なしでLDAPディレクトリサーバに提出されるべきLDAPv3ストリング質問[7])にシンタクス上、そして、意味的に同等な。

   The simple notation and syntactic/semantic attribute capabilities of
   SLP templates map easily into directory schemas, and are easily
   converted into directory schemas, even by automated means.  The
   reverse may not be true. If the LDAP schema contains attributes with
   unrecognized or complex syntaxes, the translation may be difficult or
   impossible.  If, however, the LDAP schema only uses a few of the
   common syntaxes defined in RFC 2252 [8], then the translation is more
   straightforward. In addition, to foster complete bidirectionality,
   the mapping must follow a very specific representation in its DESC
   attributes.

SLPテンプレートの簡単な記法と構文の、または、意味の属性能力は、容易にschemasをディレクトリに写像して、容易にディレクトリschemasに変換されます、自動化された手段でさえ。 逆は本当でないかもしれません。 LDAP図式が認識されていないか複雑な構文がある属性を含んでいるなら、翻訳は、難しいか、または不可能であるかもしれません。 しかしながら、LDAP図式がRFC2252[8]で定義された一般的な構文のいくつかを使用するだけであるなら、翻訳は、より簡単です。 里子への追加、完全である、双方向性であることで、マッピングはDESC属性における非常に特定の表現に続かなければなりません。

   This document outlines the correct mappings for SLP templates into
   the syntactic representation specified for LDAP directory schema by
   RFC 2252 [8]. This syntax is a subset of the ASN.1/BER described in
   the X.209 specification [9], and is used by the LDAPv3 [2] directory
   schema.  Likewise, rules and guidelines are proposed to facilitate
   consistent mapping of ASN.1 based schemas to be translated in the SLP
   template grammar. Finally, a proposal for a representation of service
   advertisements in LDAP directory services is made that facilitates
   SLP interoperability.

このドキュメントはRFC2252[8]によってLDAPディレクトリ図式に指定された統語表示にSLPテンプレートのための正しいマッピングについて概説します。 この構文は、X.209仕様[9]で説明されたASN.1/BERの部分集合であり、LDAPv3[2]ディレクトリ図式によって使用されます。 同様に、SLPテンプレート文法で翻訳されるためにASNの.1のベースのschemasの一貫したマッピングを容易にするために規則とガイドラインを提案します。最終的に、LDAPディレクトリサービスのサービス広告の表現のためのSLP相互運用性を容易にする提案をします。

   Except when used as elements in the definition of LDAP schemas, 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 [16].

キーワード“MUST"、「必須NOT」というLDAP schemasの定義における要素が「必要であった」ように使用されたら、除いてください、“SHALL"、「」、“SHOULD"、「「推薦され」て、「5月」の、そして、「任意」のNOTはRFC2119[16]で説明されるように本書では解釈されることであるべきですか?

2.0 Mapping SLP Templates to LDAP Schema

2.0 SLPテンプレートをLDAP図式に写像すること。

   We define the following abstract object class as the parent class for
   all services.  Any specific service type is a subclass of this, with
   its own attributes:

私たちは以下の抽象的なオブジェクトのクラスをすべてのサービスのための親のクラスと定義します。 どんな特定のサービスタイプもそれ自身の属性があるこのサブクラスです:

Kempf, et al.                Informational                      [Page 3]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[3ページ]のRFC2926変換

      ( 1.3.6.1.4.1.6252.2.27.6.2.1
        NAME 'slpService'
        DESC 'parent superclass for SLP services'
        ABSTRACT
        SUP top
        MUST  ( template-major-version-number $
                template-minor-version-number $
                description $
                template-url-syntax $
                service-advert-service-type $
                service-advert-scopes )
        MAY   ( service-advert-url-authenticator $
                service-advert-attribute-authenticator ) )

(1.3.6.1.4.1.6252.2.27.6.2.1NAME'slpService'DESC'SLPサービスのための親の「スーパー-クラス」'ABSTRACT SUP先端がそうしなければならない、(サービスがサービスタイプについて言及しているテンプレートメジャーバージョン番号記述$テンプレートのurl構文$$テンプレートマイナーバージョン番号$$、サービスが範囲について言及する、)、(サービスがurlに固有識別文字について言及している$、サービスが属性固有識別文字について言及する、)であるかもしれない

   The attributes correspond to various parts of the SLP service
   template and SLP service advertisement.

属性はSLPサービステンプレートとSLPサービス広告の様々な部分に対応しています。

   SLP service type templates begin with four definitions that set the
   context of the template:

SLPサービスタイプテンプレートはテンプレートの文脈を設定する4つの定義で始まります:

      template-type - This defines the service type of the template. The
      service type can be a simple service type, like "service:ftp", an
      abstract service type, like "service:printer" or a concrete
      service type, like "service:printer:lpr". The type name can
      additionally include a naming authority, for example
      "service:printer.sun:local".  The name that appears in this field
      omits the "service:" prefix.

テンプレートタイプ--これはテンプレートのサービスタイプを定義します。 サービスタイプは純真なサービスタイプであるかもしれません、「サービス: ftp」、「サービス: プリンタ」や具体的なサービスタイプのような抽象的なサービスタイプが「サービス:プリンタ:lpr」が好きであるように。 型名はさらに、命名権威を含むことができます、例えば、「: printer.sunを調整してください: 地方です」。 この分野が省略するコネに現れる名前、「サービス:」 前に置きます。

      template-version - A string containing a major and minor version
      number, separated by a period.

テンプレートバージョン--期間までに切り離された主要で小さい方のバージョン番号を含む五弦。

      template-description - A block of human readable text describing
      what the service type does.

テンプレート記述--サービスタイプがすることについて説明する1ブロックの人間の読み込み可能なテキスト。

      template-url-syntax - An ABNF [6] grammar describing the service
      type specific part of the service URL.

テンプレートurl構文--サービスタイプのためにサービスURLの特定の部分について説明するABNF[6]文法。

   The SLP template-type definition is used as the name of the LDAP
   object class for the template, a subclass of the "slpService" class,
   together with the "service" prefix to indicate that the name is for a
   service. In the translating service type name, colons and the period
   separating the naming authority are converted into hyphens. If the
   template defines an SLP concrete type, the concrete type name is
   used; the abstract type name is never used.  For example, the
   template for "service:printer:lpr" is translated into an LDAP object
   class called "service-printer-lpr". Furthermore, if the type name
   contains a naming authority, the naming authority name must be

SLPテンプレート型定義はテンプレートにLDAPオブジェクトのクラスの名前として使用されます、"slpService"のクラスのサブクラス、名前がサービスのためのものであることを示す「サービス」接頭語と共に。 サービスタイプが命名する翻訳では、命名権威を切り離すコロンと期間はハイフンに変換されます。 テンプレートがSLPの具体的なタイプを定義するなら、具体的な型名は使用されています。 抽象型名は決して使用されません。 例えば、「サービス:プリンタ:lpr」のためのテンプレートは「サービスプリンタlpr」と呼ばれるLDAPオブジェクトのクラスに翻訳されます。 その上、型名が命名権威を含んでいるなら、命名権威名は含むに違いありません。

Kempf, et al.                Informational                      [Page 4]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[4ページ]のRFC2926変換

   included. For example, the service type name
   "service:printer.sun:local" becomes "service-printer-sun-local".  The
   LDAP object class is always "STRUCTURAL".

含まれる。 例えば、「サービス:printer.sun:ローカル」というサービス型名は「サービスプリンタ太陽ローカル」になります。 LDAPオブジェクトのクラスはいつも「構造的です」。

   The template-version definition is partitioned into two attributes,
   template-major-version-number and template-minor-version-number. The
   LDAP definition for these attributes is:

テンプレートバージョン定義は2つの属性、テンプレートメジャーバージョン番号、およびテンプレートマイナーバージョン番号に仕切られます。 これらの属性のためのLDAP定義は以下の通りです。

      ( 1.3.6.1.4.1.6252.2.27.6.1.1
        NAME 'template-major-version-number'
        DESC 'The major version number of the service type template'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE
      )

(1.3.6.1.4.1.6252.2.27.6.1サービスタイプテンプレート'EQUALITY integerMatch SYNTAX1.3.6.1.4.1のもののメジャーバージョン番号の.1NAME'テンプレートメジャーバージョン番号'DESC'.1466、.115、.121、.1、.27SINGLE-VALUE)

      ( 1.3.6.1.4.1.6252.2.27.6.1.2
        NAME 'template-minor-version-number'
        DESC 'The minor version number of the service type template'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE
      )

(1.3.6.1.4.1.6252.2.27.6.1サービスタイプテンプレート'EQUALITY integerMatch SYNTAX1.3.6.1.4.1のもののマイナーバージョン番号の.2NAME'テンプレートマイナーバージョン番号'DESC'.1466、.115、.121、.1、.27SINGLE-VALUE)

   The template-url-syntax definition in the SLP template is described
   by the following attribute:

テンプレートurl構文定義は以下の属性によってSLPテンプレートに説明されます:

      ( 1.3.6.1.4.1.6252.2.27.6.1.3
        NAME 'template-url-syntax'
        DESC 'An ABNF grammar describing the service type
              specific part of the service URL'
        EQUALITY caseExactIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
        SINGLE-VALUE
      )

(1.3.6.1.4.1.6252.2.27.6.1.3NAME'テンプレートのurl構文'DESC'サービスについて説明するABNF文法はサービスURLの特定の部分をタイプする'というEQUALITY caseExactIA5Match SYNTAX1.3.6.1、.4、.1、.1466、.115、.121、.1、.26SINGLE-VALUE)

   The template-description attribute is translated into the X.520
   standard attribute "description" [3].

テンプレート記述属性はX.520の標準の属性「記述」[3]に翻訳されます。

   We further establish the convention that SLP template characteristics
   that can't be translated into LDAP are inserted into the DESC field
   of the object class definition. The items are separated by empty
   lines (consisting of two "LINE FEED" characters), are preceded by a
   LINE FEED character, and are tagged at the  beginning of the line to
   indicate what they represent.   This allows the template to be
   reconstructed from the schema by properly parsing the comments.

私たちはさらにオブジェクトクラス定義のDESC分野に挿入されていた状態でLDAPに翻訳できないSLPテンプレートの特性があるコンベンションを設立します。 商品は、空の系列(2つの「改行」キャラクタから成る)によって切り離されて、改行文字が先行して、系列の始めに彼らが表すことを示すためにタグ付けをされます。 これは、テンプレートが図式から適切にコメントを分析することによって再建されるのを許容します。

Kempf, et al.                Informational                      [Page 5]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[5ページ]のRFC2926変換

   The bulk of an SLP template consists of attribute definitions.  There
   are four items in an SLP template attribute definition that need to
   be mapped into LDAP:

SLPテンプレートの嵩は属性定義から成ります。 SLPテンプレート属性定義におけるLDAPに写像される必要がある4つの項目があります:

      Attribute Name - Since SLPv2 attribute names are defined to be
      compatible with LDAPv3, SLP attributes map directly into LDAP
      attributes with no change. Similarly, LDAP attributes map directly
      to SLP attributes.

属性Name--SLPv2属性名がLDAPv3と互換性があるように定義されるので、SLP属性は変化なしで直接LDAPに属性を写像します。 同様に、LDAP属性は直接SLPに属性を写像します。

      Attribute Type - The SLP attribute type is mapped into the LDAP
      attribute type.

属性Type--SLP属性タイプはLDAP属性タイプに写像されます。

      Attribute Flags - The SLP attribute flags are mapped into
      characteristics of the LDAP attribute definition, or into the DESC
      field if no equivalent LDAP attribute definition characteristic
      occurs.

属性Flags--SLP属性旗がLDAP属性定義の特性に配置されるか、またはどんな同等なLDAPも定義の特性を結果と考えないなら、DESCに、分野は起こります。

      Default and Allowed Values - These must be handled by the client
      or a DA enabled to handle templates, as in SLP. For reference,
      however, they should be included in the DESC field of the LDAP
      attribute definition.

デフォルトとAllowed Values--テンプレートを扱うのが有効にされたクライアントかDAがこれらを扱わなければなりません、SLPのように。 しかしながら、参照において、それらはLDAP属性定義のDESC分野に含まれるべきです。

      Descriptive Text - The SLP template descriptive text should be
      mapped into the DESC field.

描写的であるText--SLPテンプレート説明文はDESC分野に写像されるべきです。

   We discuss mapping of types, flags, default and allowed values, and
   descriptive text in the subsections below.

私たちはタイプ、旗、デフォルト、および許容値に関するマッピング、および以下の小区分における説明文について議論します。

   OIDs for SLP template conversion schema elements are standardized
   under the enterprise number of SrvLoc.Org (6252) [18].

SLPテンプレート変換図式要素のためのOIDsはSrvLoc.Org(6252)[18]の企業番号の下で標準化されます。

   For purposes of representing an SLP entry, we also define two
   standardized LDAP syntaxes and attributes with standardized OIDs.

また、SLPエントリーを表す目的のために、私たちは標準化されたOIDsと共に2つの標準化されたLDAP構文と属性を定義します。

      ( 1.3.6.1.4.1.6252.2.27.6.2.2
        DESC 'SLP Service Type'
      )

(.6.1.4.1.6252.2.27.6.2.2DESC'SLPサービスがタイプする1.3、'、)

   Defines the syntax for the service type name. The syntax is defined
   in the BNF for the service URL in RFC 2609 Section 2.1 [1].

サービス型名のために構文を定義します。 構文はRFC2609セクション2.1[1]のサービスURLのためにBNFで定義されます。

      ( 1.3.6.1.4.1.6252.2.27.6.2.3
        DESC 'SLP Scope'
      )

(1.3、.6、.1、.4、.1、.6252、.2、.27、.6、.2、'SLPは見る'.3DESC)

   Defines the syntax for the scope name. The syntax is defined in the
   BNF for scope names in RFC 2608 Section 6.4.1 [5].

範囲名のために構文を定義します。 構文はRFC2608セクション6.4.1[5]の範囲名のためにBNFで定義されます。

Kempf, et al.                Informational                      [Page 6]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[6ページ]のRFC2926変換

      ( 1.3.6.1.4.1.6252.2.27.6.1.4
        NAME 'service-advert-service-type'
        DESC 'The service type of the service advertisement, including
              the "service:" prefix.'
        EQUALITY caseExactIA5Match
        SYNTAX 1.3.6.1.4.1.6252.2.27.6.2.2
        SINGLE-VALUE
      )

(1.3.6.1.4.1.6252.2.27.6.1.4NAMEサービスがサービスタイプについて言及している'. 「サービス: 」 接頭語'EQUALITY caseExactIA5Match SYNTAX1.3に.6を含むサービス広告のサービスタイプの'DESC'.1.4、.1、.6252、.2、.27、.6、.2、.2SINGLE-VALUE)

   Defines an attribute for the service type name.

サービス型名のために属性を定義します。

      ( 1.3.6.1.4.1.6252.2.27.6.1.5
        NAME 'service-advert-scopes'
        DESC 'A list of scopes for a service advertisement.'
        EQUALITY caseExactIA5Match
        SYNTAX 1.3.6.1.4.1.6252.2.27.6.2.3
      )

(1.3.6.1.4.1.6252.2.27.6.1Aがサービス広告のための範囲について. 'EQUALITY caseExactIA5Match SYNTAX1.3に記載するサービスが範囲について言及している.5'NAME'DESC'.6、.1、.4、.1、.6252、.2、.27、.6、.2、.3)

   Defines a multivalued attribute for the scopes.

多値の属性を範囲と定義します。

   Searches for abstract types can be made with an LDAP query that
   wildcards the concrete type. For example, a search for all service
   advertisements of the printer abstract type can be made with the
   following query:

検索は、LDAPと共に抽象型を作ることができるので、コンクリートがタイプするそのワイルドカードについて質問します。 例えば、以下の質問でプリンタ抽象型のすべてのサービス広告の検索をすることができます:

         (service-advert-service-type=service:printer:*)

(サービスサービスについて言及しているタイプはサービスと等しいです: プリンタ: *)

   SLP specifies that service URLs and attribute lists can be
   accompanied by a structured authenticator consisting of a digital
   signature and information necessary to verify the signature.  A
   syntax and two standardized SLP attributes are defined for this
   purpose:

SLPは、署名について確かめるためにデジタル署名と必要情報から成る構造化された固有識別文字でサービスURLと属性リストに伴うことができると指定します。 構文と2つの標準化されたSLP属性がこのために定義されます:

      ( 1.3.6.1.4.1.6252.2.27.6.2.3 DESC 'SLP Authenticator')

(1.3.6.1.4.1.6252.2.27.6.2.3DESC'SLP固有識別文字')

      The syntax of an SLP authenticator is the bytes of the
      authenticator in network byte order, see RFC 2608, Section 9.2
      [5].

SLP固有識別文字の構文はネットワークバイトオーダーで、固有識別文字のバイトです、とRFC2608(セクション9.2[5])は見ます。

      ( 1.3.6.1.4.1.6252.2.27.6.1.6
        NAME 'service-advert-url-authenticator'
        DESC 'The authenticator for the URL, null if none.'
        SYNTAX 1.3.6.1.4.1.6252.2.27.6.2.3
        SINGLE-VALUE
      )

(1.3、.6、.1、.4、.1、.6252、.2、.27、.6、.1、.6NAME'サービスがurl固有識別文字について言及している'DESC'、URLのための固有識別文字、ヌル、なにもである. 'SYNTAX1.3.6、.1、.4、.1、.6252、.2、.27、.6、.2、.3SINGLE-VALUE)

      This attribute contains the SLP URL authenticator, as defined in
      RFC 2608, Section 9.2 [5].

この属性はRFC2608、セクション9.2[5]で定義されるようにSLP URL固有識別文字を含んでいます。

Kempf, et al.                Informational                      [Page 7]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[7ページ]のRFC2926変換

      ( 1.3.6.1.4.1.6252.2.27.6.1.7
        NAME 'service-advert-attribute-authenticator'
        DESC 'The authenticator for the attribute list, null if none.'
        SYNTAX 1.3.6.1.4.1.6252.2.27.6.2.3
        SINGLE_VALUE
      )

(1.3 .6 .1 .4 .1 .6252 .2 .27 .6 .1 .7 属性のための固有識別文字が記載するサービスが属性固有識別文字について言及している'NAME'DESC'、ヌル、なにもである. 'SYNTAX1.3.6、.1、.4、.1、.6252、.2、.27、.6、.2、.3SINGLE_VALUE)

      This attribute contains the SLP attribute authenticator, as
      defined in RFC 2608, Section 9.2 [5].

この属性はRFC2608、セクション9.2[5]で定義されるようにSLP属性固有識別文字を含んでいます。

2.1 Mapping from SLP Attribute Types to LDAP Attribute Types

2.1 SLP属性タイプからLDAPまで属性タイプを写像します。

   We define the mapping from SLP attribute types to LDAP as follows:

私たちはSLP属性タイプから以下のLDAPまでマッピングを定義します:

      SLP Type    ASN.1 Type               LDAP Type
      ---------------------------------------------------
       Integer     INTEGER              INTEGER
       String      DirectoryString      Directory String
       Boolean     BOOLEAN              Boolean
       Opaque      OCTET STRING         Octet String
       Keyword     (N/A)                IA5 String

SLPタイプASN.1タイプLDAPはタイプします。--------------------------------------------------- ブールブールブール整数の不明瞭な八重奏ストリング八重奏ストリング整数整数ストリングDirectoryStringディレクトリストリングキーワード(なし)IA5ストリング

   The following subsections discuss further details of the mapping.

以下の小区分はマッピングの詳細について議論します。

2.1.1 Integer

2.1.1 整数

   SLP integers compare as integers when performing a query.  LDAP
   integers behave similarly.  Consequently, the mapping from the SLP
   integer type to LDAP is INTEGER, with the integerMatch matching rule.

質問を実行するとき、SLP整数は整数として比較されます。 LDAP整数は同様に振る舞います。 その結果、SLP整数型からLDAPまでのマッピングはintegerMatchの合っている規則があるINTEGERです。

2.1.2 String

2.1.2 ストリング

   SLP strings are encoded as described in the SLP protocol
   specification [5].  All value strings are considered case insensitive
   for matching operations.  SLP strings are not null terminated and are
   encoded in UTF-8.

SLPストリングはSLPプロトコル仕様[5]で説明されるようにコード化されます。 すべての値のストリングが合っている操作に大文字と小文字を区別しないと考えられます。 SLPストリングは、終えられた状態でヌルでなく、UTF-8でコード化されます。

   SLP strings are mapped to the LDAP Directory String type. The
   Directory String type exactly matches the SLP string type, i.e. it is
   a non-null terminated UTF-8 string. The caseIgnoreMatch equality
   rule, caseIgnoreOrderingMatch ordering rule, and
   caseIgnoreSubstringsMatch substring rule are used for comparing
   string attribute values.

SLPストリングはLDAPディレクトリStringタイプに写像されます。 ディレクトリStringタイプはまさにSLPストリングタイプに合っています、すなわち、それが非ヌルの終えられたUTF-8ストリングです。 caseIgnoreMatch平等規則、caseIgnoreOrderingMatch注文規則、およびcaseIgnoreSubstringsMatchサブストリング規則は、ストリング属性値を比較するのに使用されます。

Kempf, et al.                Informational                      [Page 8]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[8ページ]のRFC2926変換

2.1.3 Boolean

2.1.3 論理演算子

   Boolean attributes may have one of two possible values.  In SLP,
   these values are represented as strings, TRUE and FALSE.  In SLP's
   string encoding of a boolean value, case does not matter.

ブール属性に、2つの可能な値の1つがあるかもしれません。 SLPでは、これらの値はストリング、TRUE、およびFALSEとして表されます。 SLPのブール値のストリングコード化では、ケースは重要ではありません。

   The SLP Boolean type maps directly into an LDAP BOOLEAN. The
   caseIgnoreMatch rule is used for equality matching.

直接LDAP BOOLEANへのSLPのブールタイプ地図。 caseIgnoreMatch規則は平等マッチングに使用されます。

2.1.4 Opaque

2.1.4 不透明です。

   SLP attribute values of type Opaque are represented as OCTET STRING
   in LDAP, and the octetStringMatch matching rule is used to compare
   them.

タイプOpaqueのSLP属性値はOCTET STRINGとしてLDAPに表されます、そして、octetStringMatchの合っている規則は、それらを比較するのに使用されます。

2.2 Keyword Attributes

2.2 キーワード属性

   SLP service type templates allow the definition of keyword
   attributes.  Keyword attributes are attributes whose only
   characteristic is their presence. Keyword attributes have no flag
   information, nor any default or allowed values (since, by definition,
   they have no values).

SLPサービスタイプテンプレートはキーワード属性の定義を許します。 キーワード属性は唯一の特性がそれらの存在である属性です。 キーワード属性に、どんな旗の情報がなくて、デフォルトや許容値もあります(それらには値が全く定義上ないので)。

   ASN.1 has no concept of keyword attributes. Keyword attributes are
   translated into a "May" clause in the ASN.1 class definition for the
   service type. If the keyword attribute is present, then its value is
   of no consequence, but for consistency we make it simply the NUL
   character, "%%BODY%%0".

ASN.1には、キーワード属性の概念が全くありません。 キーワード属性はサービスタイプのためにASN.1クラス定義における「5月」節に翻訳されます。 「キーワード属性が存在しているなら、値は結果の全くものではありませんが、一貫性のために、私たちはそれを単にNULキャラクタにします」、%%BODY%%インチ。

2.3 Template Flags

2.3 テンプレート旗

   SLP template flags can be handled as described in the following
   subsections.

以下の小区分で説明されるようにSLPテンプレート旗を扱うことができます。

2.3.1 Multi-valued

2.3.1 マルチ評価されています。

   Multi-valued attributes are defined in an SLP template using the one
   value.  All values for a given attribute must be of the same type.

マルチ評価された属性は、SLPテンプレートで1つの値を使用することで定義されます。 同じタイプには与えられた属性のためのすべての値があるに違いありません。

   LDAP attribute definitions require that a single valued attribute
   include the SINGLE-VALUE tag if the attribute is single valued.
   Otherwise, the attribute is assumed to be multivalued by default.

LDAP属性定義は、属性が評価されていた状態でただ一つであるならただ一つの評価された属性がSINGLE-VALUEタグを含んでいるのを必要とします。 さもなければ、属性がデフォルトで多値であると思われます。

Kempf, et al.                Informational                      [Page 9]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[9ページ]のRFC2926変換

2.3.2 Optional

2.3.2 任意です。

   SLP uses the 'O' flag to indicate an attribute may or may not be
   present.  These optional attributes are defined using the "May"
   clause in the ASN.1 definition class definition for the service type.
   All other attributes must be defined as a "Must".

SLPは、属性が存在しているかもしれないのを示すのに'O'旗を使用します。 これらの任意の属性は、サービスタイプにASN.1定義クラス定義に「5月」節を使用することで定義されます。 他のすべての属性を“Must"と定義しなければなりません。

2.3.3 Literal

2.3.3 リテラル

   ASN.1 does not have a mechanism to indicate that the values of an
   attribute may not be translated from one language to another, since
   ASN.1 schema are not typically translated. This flag is dropped when
   translating a template, but presence of the flag should be noted in
   the DESC field. It should be placed on a separate line and tagged
   with "Literal:" so the template can be reconstructed from the schema.

ASN.1には、属性の値が1つの言語から別の言語まで翻訳されないかもしれないのを示すメカニズムがありません、ASN.1図式が通常翻訳されていないので。 テンプレートを翻訳するとき、この旗は下げられますが、旗の存在はDESC分野に述べられるべきです。 それが別々の系列に置かれて、タグ付けをされるべきである、「リテラル:」 それで、図式からテンプレートを再建できます。

2.3.4 Explicit Matching

2.3.4 明白なマッチング

   The SLP template syntax uses a flag of 'X' to indicate that an
   attribute must be present in order for the query to be properly
   satisfied.  There is no provision for requiring that particular
   attributes be in a query. Consequently, this flag is dropped when
   translating a template, but presence of the flag should be noted in
   the DESC field. It should be placed on a separate line and tagged
   with "Explicit:" so the template can be reconstructed from the
   schema.

SLPテンプレート構文は、属性が質問が適切に満たされるために存在していなければならないのを示すのに'X'の旗を使用します。 特定の属性が質問でそうであることが必要であることへの支給が全くありません。 テンプレートを翻訳するとき、その結果、この旗は下げられますが、旗の存在はDESC分野に述べられるべきです。 それが別々の系列に置かれて、タグ付けをされるべきである、「明白:、」 それで、図式からテンプレートを再建できます。

2.4 Default and Allowed Value Lists

2.4 デフォルトと許容値のリスト

   The SLP template grammar provides the capability to define default
   and allowed values for an attribute. The SLP protocol does not
   enforce these restrictions on registered attributes, however.  The
   default and allowed values may be used by client side applications,
   or alternatively it may also be used by DAs to initialize
   registrations having no attributes and to limit attribute values to
   the template allowed values.

SLPテンプレート文法は属性のためにデフォルトと許容値を定義する能力を提供します。 しかしながら、SLPプロトコルはこれらの制限に登録された属性に押しつけません。デフォルトと許容値がクライアントサイドアプリケーションで使用されるかもしれませんか、またはまた、あるいはまたそれは、属性を全く持っていない登録証明書を初期化して、属性値を値が許容されたテンプレートに制限するのにDAsによって使用されるかもしれません。

   LDAP servers also do not support default and allowed values on
   attributes. Therefore, enforcement of default and allowed values in
   SLP templates is left up to the clients or a DA, if the DA is
   backending into LDAP. The default and allowed values should be
   included in the DESC field. The comments should be placed on separate
   lines and labeled with the "Default:" and "Allowed:" tags to allow
   reconstruction of the template.

LDAPサーバも属性のデフォルトと許容値をサポートしません。 したがって、SLPテンプレートのデフォルトと許容値の実施はクライアントかDAに任せられます、DAがLDAPにbackendingしているなら。 デフォルトと許容値はDESC分野に含まれるべきです。 コメントが別々の系列に置かれて、ラベルされるべきである、「デフォルトとしてください」 そして、「許容されました」。 テンプレートの再建を許すために、タグ付けをします。

Kempf, et al.                Informational                     [Page 10]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[10ページ]のRFC2926変換

2.5 Descriptive Text

2.5 説明文

   The descriptive text associated with an attribute definition should
   be included in the DESC field. It should start on a separate line and
   begin with the "Description:" tag.

属性定義に関連している説明文はDESC分野に含まれるべきです。 それが別々の系列を始めて、始まるべきである、「記述:」 タグ付けをします。

2.6 Generating LDAP Attribute OIDs

2.6 LDAP属性OIDsを生成すること。

   LDAP attributes require an OID. In general, there is no a priori way
   that an algorithm can be defined for generating OIDs, because it will
   depend on the conventions used by the organization developing the
   template. In some cases, an organization's procedure for generating
   OIDs may be regular enough that a template developer can
   algorithmically generate OIDs off of an assigned root. Whatever means
   is used, the template developer should assure that unique OIDs are
   assigned to each SLP attribute that is translated into an LDAP
   attribute.

LDAP属性はOIDを必要とします。 一般に、OIDsを生成するためにアルゴリズムを定義できる先験的な方法は全くありません、テンプレートを開発する組織によって使用されたコンベンションによるので。 いくつかの場合、組織の手順は、OIDsを生成するためにテンプレート開発者が割り当てられた根からOIDsをalgorithmicallyに生成することができるくらい通常であるかもしれません。 いかなる使用された手段、テンプレート開発者はユニークなOIDsがLDAP属性に翻訳されるそれぞれのSLP属性に割り当てられることを保証するべきです。

2.7 Example

2.7 例

   The template included below is a hypothetical abstract printer
   service template, similar to that described in [10].

以下にテンプレートを含むのは、[10]で説明されたそれと同様の仮定している抽象的なプリンタサービステンプレートです。

      template-type = printer

テンプレートタイプはプリンタと等しいです。

      template-version = 0.0

テンプレートバージョン=0.0

      template-description =
      The printer service template describes the attributes supported by
      network printing devices.  Devices may be either directly
      connected to a network, or connected to a printer spooler that
      understands the a network queuing protocol such as IPP, lpr or the
      Salutation  Architecture.

プリンタサービステンプレート記述=テンプレートはネットワーク印刷デバイスによってサポートされた属性について説明します。 デバイスは、直接ネットワークに接続されるか、またはaネットワークがIPP、lprまたはSalutation Architectureなどのプロトコルを列に並ばせるのを理解しているプリンタスプーラに接続されるかもしれません。

      template-url-syntax =
      ;The URL syntax is specific to the printing protocol being
      ;employed

テンプレートurl構文=; URL構文はありながら、印刷プロトコルに特定です; 使われます。

      description = STRING
      # This attribute is a free form string that can contain any
      # site-specific descriptive information about this printer.

STRING#Thisが結果と考える記述=はこのプリンタに関するどんな#サイト特有の記述的な情報も含むことができる自由形式ストリングです。

      printer-security-mechanisms-supported = STRING L M
      none
      # This attribute indicates the security mechanisms supported
      tls, ssl, http-basic, http-digest, none

メカニズムがサポートしたプリンタセキュリティは#Thisが結果と考えないなにも、tlsに、sslにサポートされたセキュリティー対策(http-基礎)がhttpになにもに読みこなすのを示すSTRING L Mと等しいです。

Kempf, et al.                Informational                     [Page 11]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[11ページ]のRFC2926変換

      printer-operator = STRING O L M
      # A person, or persons responsible for maintaining a
      # printer on a day-to-day basis, including such tasks
      # as filling empty media trays, emptying full output
      # trays, replacing toner cartridges, clearing simple
      # paper jams, etc.

プリンタオペレータ=STRING O L M#A人、または簡単な#紙のジャムなどをクリアして、トナーカートリッジを取り替えて、全出力#トレーを空にして、空のメディアトレーをいっぱいにするようなタスク#を含んでいて、場当たりで#プリンタを維持するのに責任がある人々

      printer-location-address = STRING O
      # Physical/Postal address for this device.  Useful for
      # nailing down a group of printers in a very large corporate
      # network.  For example: 960 Main Street, San Jose, CA 95130

このデバイスのためのSTRINGプリンタ位置のアドレス=O#Physical/郵便の宛先。 非常に大きい法人の#ネットワークでプリンタのグループを縛り付ける#の役に立ちます。 例えば: 960大通り、サンノゼ、カリフォルニア 95130

      printer-priority-queue = BOOLEAN O
      FALSE
      # TRUE indicates this printer or print queue is a priority
      # queuing device.

printer-priority-queue = BOOLEAN O FALSE # TRUE indicates this printer or print queue is a priority # queuing device.

      printer-number-up = INTEGER O
      1
      # This job attribute specifies the number of source
      # page-images to impose upon a single side of an instance
      # of a selected medium.
      1, 2, 4

printer-number-up = INTEGER O 1 # This job attribute specifies the number of source # page-images to impose upon a single side of an instance # of a selected medium. 1, 2, 4

      printer-paper-output = STRING M L O
      standard
      # This attribute describes the mode in which pages output
      # are arranged.

printer-paper-output = STRING M L O standard # This attribute describes the mode in which pages output # are arranged.

      standard, noncollated sort, collated sort, stack, unknown

standard, noncollated sort, collated sort, stack, unknown

   We assume that the concrete type "service:printer:lpr" for printers
   that speak the LPR protocol [4] has the following template
   definition:

We assume that the concrete type "service:printer:lpr" for printers that speak the LPR protocol [4] has the following template definition:

      template-type = printer:lpr

template-type = printer:lpr

      template-version = 0.0

template-version = 0.0

      template-description =
      The printer:lpr service template describes the attributes
      supported by network printing devices that speak the
      LPR protocol. No new attributes are included.

template-description = The printer:lpr service template describes the attributes supported by network printing devices that speak the LPR protocol. No new attributes are included.

      template-url-syntax = queue
      queue = ;The queue name, see RFC 1179.

template-url-syntax = queue queue = ;The queue name, see RFC 1179.

Kempf, et al.                Informational                     [Page 12]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 12] RFC 2926 Conversion of LDAP Schemas September 2000

   The LDAP class definition for the "service:printer:lpr" concrete
   service type is translated as follows:

The LDAP class definition for the "service:printer:lpr" concrete service type is translated as follows:

   ( ---place the assigned OID here---
     NAME  'service-printer-lpr'
     DESC  'Description: The printer:lpr service template
                 describes the attributes supported by network printing
                 devices that speak the LPR protocol. No new attributes
                 are included.

( ---place the assigned OID here--- NAME 'service-printer-lpr' DESC 'Description: The printer:lpr service template describes the attributes supported by network printing devices that speak the LPR protocol. No new attributes are included.

            URL Syntax: queue
                 queue = ;The queue name, see RFC 1179.'
     SUP   slpService
     MUST  ( description $ security-mechanisms-supported $
     labeledURI)
     MAY   ( operator $ location-address $ priority-queue $
             number-up $ paper-output)
   )

URL Syntax: queue queue = ;The queue name, see RFC 1179.' SUP slpService MUST ( description $ security-mechanisms-supported $ labeledURI) MAY ( operator $ location-address $ priority-queue $ number-up $ paper-output) )

   The attribute definitions are translated as follows:

The attribute definitions are translated as follows:

   ( ---place the assigned OID here---
     NAME 'printer-security-mechanisms-supported'
     DESC 'Description: This attribute indicates the security mechanisms
           supported.

( ---place the assigned OID here--- NAME 'printer-security-mechanisms-supported' DESC 'Description: This attribute indicates the security mechanisms supported.

           Default: value

Default: value

           Allowed: tls, ssl, http-basic, http-digest, none

Allowed: tls, ssl, http-basic, http-digest, none

           Literal:'
     EQUALITY caseIgnoreMatch
     ORDERING caseIgnoreOrderingMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
   )

Literal:' EQUALITY caseIgnoreMatch ORDERING caseIgnoreOrderingMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

   ( ---place the assigned OID here---
     NAME 'printer-operator'
     DESC 'Description: A person, or persons responsible for
           maintaining a printer on a day-to-day basis, including
           such tasks as filling empty media trays, emptying full
           output trays, replacing toner cartridges, clearing simple
           paper jams, etc.

( ---place the assigned OID here--- NAME 'printer-operator' DESC 'Description: A person, or persons responsible for maintaining a printer on a day-to-day basis, including such tasks as filling empty media trays, emptying full output trays, replacing toner cartridges, clearing simple paper jams, etc.

Kempf, et al.                Informational                     [Page 13]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 13] RFC 2926 Conversion of LDAP Schemas September 2000

           Literal:'
     EQUALITY caseIgnoreMatch
     ORDERING caseIgnoreOrderingMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
   )

Literal:' EQUALITY caseIgnoreMatch ORDERING caseIgnoreOrderingMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

   ( --place the assigned OID here---
     NAME 'printer-location-address'
     DESC 'Description Physical/Postal address for this device.
           Useful for nailing down a group of printers in a very
           large corporate network.  For example: 960 Main Street,
           San Jose, CA 95130.'
     EQUALITY caseIgnoreMatch
     ORDERING caseIgnoreOrderingMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
     SINGLE-VALUE
   )

( --place the assigned OID here--- NAME 'printer-location-address' DESC 'Description Physical/Postal address for this device. Useful for nailing down a group of printers in a very large corporate network. For example: 960 Main Street, San Jose, CA 95130.' EQUALITY caseIgnoreMatch ORDERING caseIgnoreOrderingMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )

   ( ---place the assigned OID here---
     NAME 'printer-priority-queue'
     DESC 'Description: TRUE indicates this printer or print
          queue is a priority queuing device.'
     EQUALITY booleanMatch
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
     SINGLE-VALUE
   )

( ---place the assigned OID here--- NAME 'printer-priority-queue' DESC 'Description: TRUE indicates this printer or print queue is a priority queuing device.' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

   ( ---place the assigned OID here---
     NAME 'printer-number-up'
     DESC 'Description: This job attribute specifies the number
           of source page-images to impose upon a single side of
           an instance of a selected medium. This attribute is
           INTEGER.

( ---place the assigned OID here--- NAME 'printer-number-up' DESC 'Description: This job attribute specifies the number of source page-images to impose upon a single side of an instance of a selected medium. This attribute is INTEGER.

           Default: 1

Default: 1

           Allowed: 1, 2, 3, 4'
     EQUALITY integerMatch
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
     SINGLE-VALUE
   )

Allowed: 1, 2, 3, 4' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

Kempf, et al.                Informational                     [Page 14]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 14] RFC 2926 Conversion of LDAP Schemas September 2000

   ( ---place the assigned OID here---
     NAME 'printer-paper-output'
     DESC 'Description: This attribute describes the mode in
           which pages output are arranged. Default value is
           standard.

( ---place the assigned OID here--- NAME 'printer-paper-output' DESC 'Description: This attribute describes the mode in which pages output are arranged. Default value is standard.

           Default: standard

Default: standard

           Allowed: standard, noncollated sort, collated sort,
             stack, unknown.
           Literal:'
     EQUALITY caseIgnoreMatch
     ORDERING caseIgnoreOrderingMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
   )

Allowed: standard, noncollated sort, collated sort, stack, unknown. Literal:' EQUALITY caseIgnoreMatch ORDERING caseIgnoreOrderingMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

3.0 Attribute Name Conflicts

3.0 Attribute Name Conflicts

   LDAP has a flat name space, and attribute names and OIDs must be
   unique in a directory server. In order to avoid name conflicts in the
   translation of SLP templates to LDAP schemas, template developers may
   want to consider prepending the name of the service type to the
   attribute. Postprocessing attribute names to make them unique when
   translated is not possible, because it would require the DA to
   rewrite queries before submitting them to the directory server. In
   addition, developers should use standard LDAP attributes when such
   attributes are available.

LDAP has a flat name space, and attribute names and OIDs must be unique in a directory server. In order to avoid name conflicts in the translation of SLP templates to LDAP schemas, template developers may want to consider prepending the name of the service type to the attribute. Postprocessing attribute names to make them unique when translated is not possible, because it would require the DA to rewrite queries before submitting them to the directory server. In addition, developers should use standard LDAP attributes when such attributes are available.

   In the above example template, the abstract type name "printer" is
   prepended to attributes to avoid conflicts. The standard
   "description" attribute defined by X.520 [3] is used to translate the
   template description attribute.

In the above example template, the abstract type name "printer" is prepended to attributes to avoid conflicts. The standard "description" attribute defined by X.520 [3] is used to translate the template description attribute.

4.0 Mapping from Schema to Templates

4.0 Mapping from Schema to Templates

   The reverse mapping from LDAP schema to SLP service type templates
   requires dealing with both LDAP and ASN.1 data types.  RFC 2252
   defines 33 attribute syntaxes that should be supported by LDAP
   directory servers.  These syntaxes are defined using BNF for strings
   or using ASN.1 for binary  valued attributes defined by X.520.

The reverse mapping from LDAP schema to SLP service type templates requires dealing with both LDAP and ASN.1 data types. RFC 2252 defines 33 attribute syntaxes that should be supported by LDAP directory servers. These syntaxes are defined using BNF for strings or using ASN.1 for binary valued attributes defined by X.520.

   Mapping of the LDAP data types into SLP template types is fairly
   straightforward, but mapping arbitrary ASN.1 data types is somewhat
   more complicated and requires encoding the ASN.1 data type into a
   string. To a certain extent, this masks the ASN.1 data type because
   it becomes impossible to distinguish between a native string having

Mapping of the LDAP data types into SLP template types is fairly straightforward, but mapping arbitrary ASN.1 data types is somewhat more complicated and requires encoding the ASN.1 data type into a string. To a certain extent, this masks the ASN.1 data type because it becomes impossible to distinguish between a native string having

Kempf, et al.                Informational                     [Page 15]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 15] RFC 2926 Conversion of LDAP Schemas September 2000

   content equivalent to an encoded ASN.1 string. However, inclusion of
   the ASN.1 data type in the comment provides additional information
   should a reverse transformation from SLP to ASN.1 be required.

content equivalent to an encoded ASN.1 string. However, inclusion of the ASN.1 data type in the comment provides additional information should a reverse transformation from SLP to ASN.1 be required.

   The following subsections deal with both LDAP and ASN.1 attribute
   data type mappings.

The following subsections deal with both LDAP and ASN.1 attribute data type mappings.

4.1 Mapping LDAP Attribute Syntaxes to SLP Attribute Types

4.1 Mapping LDAP Attribute Syntaxes to SLP Attribute Types

   The following table contains the mappings for LDAP syntaxes to SLP
   data types:

The following table contains the mappings for LDAP syntaxes to SLP data types:

         LDAP Type                              SLP Type
      --------------------------------------------------------
         ACI Item                                 NA
         Access Point                             NA
         Attribute Type Description               NA
         Audio                                    Opaque
         Binary                                   ASN.1 escape
         Bit String                               String
         Boolean                                  Boolean
         Certificate                              Opaque
         Certificate List                         Opaque
         Certificate Pair                         Opaque
         Country String                           String
         DN                                       String
         Data Quality Syntax                      NA
         Delivery Method                          NA
         Directory String                         String
         DIT Content Rule Description             NA
         DIT Structure Rule Description           NA
         DL Submit Permission                     NA
         DSA Quality Syntax                       NA
         Enhanced Guide                           NA
         Facsimile Telephone Number               String
         Fax                                      Opaque
         Generalized Time                         String
         Guide                                    NA
         IA5 String                               String
         INTEGER                                  Integer
         JPEG                                     Opaque
         LDAP Syntax Description                  NA
         LDAP Schema Definition                   NA
         LDAP Schema Description                  NA
         Master and Shadow Access Points          NA
         Matching Rule Description                NA
         Matching Rule Use Description            NA
         Mail Preference                          NA

LDAP Type SLP Type -------------------------------------------------------- ACI Item NA Access Point NA Attribute Type Description NA Audio Opaque Binary ASN.1 escape Bit String String Boolean Boolean Certificate Opaque Certificate List Opaque Certificate Pair Opaque Country String String DN String Data Quality Syntax NA Delivery Method NA Directory String String DIT Content Rule Description NA DIT Structure Rule Description NA DL Submit Permission NA DSA Quality Syntax NA Enhanced Guide NA Facsimile Telephone Number String Fax Opaque Generalized Time String Guide NA IA5 String String INTEGER Integer JPEG Opaque LDAP Syntax Description NA LDAP Schema Definition NA LDAP Schema Description NA Master and Shadow Access Points NA Matching Rule Description NA Matching Rule Use Description NA Mail Preference NA

Kempf, et al.                Informational                     [Page 16]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 16] RFC 2926 Conversion of LDAP Schemas September 2000

         MHS OR Address                           String
         Modify Rights                            NA
         Name and Optional UID                    NA
         Name Form Description                    NA
         Numeric String                           String
         Object Class Description                 NA
         Octet String                             Opaque
         OID                                      String
         Other Mailbox                            String
         Postal Address                           String
         Protocol Information                     NA
         Presentation Address                     String
         Printable String                         String
         Substring Assertion                      NA
         Subtree Specification                    NA
         Supplier Information                     NA
         Supplier or Consumer                     NA
         Supplier And Consumer                    NA
         Supported Algorithm                      NA
         DSE Type                                 NA
         Telephone Number                         String
         Teletex Terminal Identifier              String
         Telex Number                             String
         UTC Time                                 String

MHS OR Address String Modify Rights NA Name and Optional UID NA Name Form Description NA Numeric String String Object Class Description NA Octet String Opaque OID String Other Mailbox String Postal Address String Protocol Information NA Presentation Address String Printable String String Substring Assertion NA Subtree Specification NA Supplier Information NA Supplier or Consumer NA Supplier And Consumer NA Supported Algorithm NA DSE Type NA Telephone Number String Teletex Terminal Identifier String Telex Number String UTC Time String

4.2 Mapping ASN.1 Types to SLP Types

4.2 Mapping ASN.1 Types to SLP Types

   ASN.1 employs a much richer set of data types than provided by SLP.
   The table below show the mapping of selected ASN.1 data type to their
   nearest SLP equivalent.  Because of the complexity and flexibility of
   ASN.1, a complete list cannot be provided.

ASN.1 employs a much richer set of data types than provided by SLP. The table below show the mapping of selected ASN.1 data type to their nearest SLP equivalent. Because of the complexity and flexibility of ASN.1, a complete list cannot be provided.

   As sample of some ASN.1 encodings and their mappings to SLP:

As sample of some ASN.1 encodings and their mappings to SLP:

      ASN.1 type               SLP type
      -----------------------------------------
      INTEGER                  Integer
      BOOLEAN                  Boolean
      ENUMERATED               String
      OBJECT IDENTIFIER        String
      OCTET STRING             Opaque
      REAL                     String

ASN.1 type SLP type ----------------------------------------- INTEGER Integer BOOLEAN Boolean ENUMERATED String OBJECT IDENTIFIER String OCTET STRING Opaque REAL String

   Data types that do not map directly to SLP data types should be
   defined as either a String, or as Opaque.  ASN.1 types that may only
   contain valid characters for Strings, as defined in X.680 [9] should
   be encoded as strings.  ASN.1 types such as GraphicString that change
   their character set encoding in part way through a value should not

Data types that do not map directly to SLP data types should be defined as either a String, or as Opaque. ASN.1 types that may only contain valid characters for Strings, as defined in X.680 [9] should be encoded as strings. ASN.1 types such as GraphicString that change their character set encoding in part way through a value should not

Kempf, et al.                Informational                     [Page 17]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 17] RFC 2926 Conversion of LDAP Schemas September 2000

   be encoded as strings, however, If such types are required, the SLP
   Opaque type should be used. In either case, the first line of the
   help text is used to indicate the original ASN.1 data type.

be encoded as strings, however, If such types are required, the SLP Opaque type should be used. In either case, the first line of the help text is used to indicate the original ASN.1 data type.

   The following subsections describe how to convert from the ASN.1 BER
   [9] to the SLP template for the different types in the table above.

The following subsections describe how to convert from the ASN.1 BER [9] to the SLP template for the different types in the table above.

4.2.1 Integer

4.2.1 Integer

   Both SLP templates and ASN.1 support Integers, so there is a one to
   one mapping between an SLP Integer attribute and an ASN.1 Integer
   attribute.  Details on the encoding of integers is summarized in the
   SLP template to ASN.1 section above.

Both SLP templates and ASN.1 support Integers, so there is a one to one mapping between an SLP Integer attribute and an ASN.1 Integer attribute. Details on the encoding of integers is summarized in the SLP template to ASN.1 section above.

4.2.2 Boolean

4.2.2 Boolean

   Boolean values are supported by both SLP and ASN.1, though on wire
   encodings differ.  X.680 [9] specifies zero and non-zero encoding for
   booleans, where SLP encodes booleans using the strings TRUE and
   FALSE.  In general, most LDAP servers will use the LDAP Boolean type
   (which is a string), so again the ASN.1 type should be recorded in
   the comment or it will be lost.

Boolean values are supported by both SLP and ASN.1, though on wire encodings differ. X.680 [9] specifies zero and non-zero encoding for booleans, where SLP encodes booleans using the strings TRUE and FALSE. In general, most LDAP servers will use the LDAP Boolean type (which is a string), so again the ASN.1 type should be recorded in the comment or it will be lost.

4.2.3 Enumerated

4.2.3 Enumerated

   SLP templates support the concept of enumerations through the listing
   of allowed values in the attribute definition.  These enumerations
   are not strictly binding on clients or DAs, but they are similar to
   the ASN.1 definition of enumerations. BER encodes the ASN.1
   enumeration by passing the number of the element's position in the
   enumeration.  This requires both sides to have knowledge of the
   specific enumeration prior to decoding an enumeration's value. SLP
   provides no specific support for transmitting enumerations. They are
   simply String types. Information on the ASN.1 type and ASN.1 encoding
   of the enumeration values is recorded in the comment.

SLP templates support the concept of enumerations through the listing of allowed values in the attribute definition. These enumerations are not strictly binding on clients or DAs, but they are similar to the ASN.1 definition of enumerations. BER encodes the ASN.1 enumeration by passing the number of the element's position in the enumeration. This requires both sides to have knowledge of the specific enumeration prior to decoding an enumeration's value. SLP provides no specific support for transmitting enumerations. They are simply String types. Information on the ASN.1 type and ASN.1 encoding of the enumeration values is recorded in the comment.

   Example:

Example:

   color-supported = STRING   M
   none
   # ASN.1: Enumeration.
   # ASN.1 Mapping: none = 0, highlight = 1, three color = 2,
   #   four color = 4, monochromatic = 5
   #This attribute specifies whether the Printer supports
   # color and, if so, what type.
   none,highlight,three color,four color,monochromatic

color-supported = STRING M none # ASN.1: Enumeration. # ASN.1 Mapping: none = 0, highlight = 1, three color = 2, # four color = 4, monochromatic = 5 #This attribute specifies whether the Printer supports # color and, if so, what type. none,highlight,three color,four color,monochromatic

Kempf, et al.                Informational                     [Page 18]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 18] RFC 2926 Conversion of LDAP Schemas September 2000

4.2.4 Object Identifier

4.2.4 Object Identifier

   Object identifiers(OIDs) are commonly used in the ASN.1 world to
   identify object and attributes.  OIDs are a numerical representation
   of an element's place in the naming hierarchy. Each element at a
   particular level of a hierarchy has a unique number assigned within
   that level of the hierarchy. A sample OID would be the naming tree
   for SNMP MIBs:  iso(1) org(3) dod(6) internet(1) mgmt(2) mib(1) would
   be written as the string "1.3.6.1.2.1".

Object identifiers(OIDs) are commonly used in the ASN.1 world to identify object and attributes. OIDs are a numerical representation of an element's place in the naming hierarchy. Each element at a particular level of a hierarchy has a unique number assigned within that level of the hierarchy. A sample OID would be the naming tree for SNMP MIBs: iso(1) org(3) dod(6) internet(1) mgmt(2) mib(1) would be written as the string "1.3.6.1.2.1".

   Because this representation reduces down to a string of dot separated
   numbers, this maps easily to the SLP String type.  The help text for
   this element should indicate it is an ASN.1 OID

Because this representation reduces down to a string of dot separated numbers, this maps easily to the SLP String type. The help text for this element should indicate it is an ASN.1 OID

      identifier = STRING
      # ASN.1: OID
      # The object identifier for this SNMP agent.

identifier = STRING # ASN.1: OID # The object identifier for this SNMP agent.

4.2.5 Octet String

4.2.5 Octet String

   An ASN.1 octet string should be mapped to an Opaque in an SLP
   template.  An octet string is a sequence of bytes, whereas an Opaque
   is a a string that encodes a sequence of bytes. Again, the ASN.1 type
   is lost unless recorded in the comment.

An ASN.1 octet string should be mapped to an Opaque in an SLP template. An octet string is a sequence of bytes, whereas an Opaque is a a string that encodes a sequence of bytes. Again, the ASN.1 type is lost unless recorded in the comment.

4.2.6 Real

4.2.6 Real

   There is no direct mapping between floating point numbers and any SLP
   data types.  Attributes having the ASN.1 type of Real are mapped to
   SLP type String.  Comments are added to the attribute help text
   indicating the value was originally an ASN.1 real.  For example:

There is no direct mapping between floating point numbers and any SLP data types. Attributes having the ASN.1 type of Real are mapped to SLP type String. Comments are added to the attribute help text indicating the value was originally an ASN.1 real. For example:

      weight = STRING
      # ASN.1: Real
      # The objects weight in pounds.

weight = STRING # ASN.1: Real # The objects weight in pounds.

4.3 Example ASN.1 Schema

4.3 Example ASN.1 Schema

   The following is an example schema for an exported filesystem.  The
   section presents it as in ASN.1 and the following section shows the
   SLP template translation. The template translation does not capture
   the actual attribute format for the Set type, that would be done in
   the LDAP client software making the translation. Note that even
   though the class definition does not conform with the previously
   defined conventions for SLP classes, the schema can still be
   translated into an SLP template.  The syntax used in this example
   follows

The following is an example schema for an exported filesystem. The section presents it as in ASN.1 and the following section shows the SLP template translation. The template translation does not capture the actual attribute format for the Set type, that would be done in the LDAP client software making the translation. Note that even though the class definition does not conform with the previously defined conventions for SLP classes, the schema can still be translated into an SLP template. The syntax used in this example follows

Kempf, et al.                Informational                     [Page 19]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 19] RFC 2926 Conversion of LDAP Schemas September 2000

         -- Abstraction of a fstab entry (a "mount").
         -- These lookups would likely be performed by an
         -- an automounter type application.
         mount   OBJECT-CLASS ::= {
                 SUBCLASS OF { top }
                 MUST CONTAIN { mountHost |
                                mountDirectory |
                                mountType
                              }
                 MAY CONTAIN { mountOption |
                               mountDumpFrequency |
                               mountPassNo
                             }
                 ID { <oid1> }
         }

-- Abstraction of a fstab entry (a "mount"). -- These lookups would likely be performed by an -- an automounter type application. mount OBJECT-CLASS ::= { SUBCLASS OF { top } MUST CONTAIN { mountHost | mountDirectory | mountType } MAY CONTAIN { mountOption | mountDumpFrequency | mountPassNo } ID { <oid1> } }

         - The mount host.
         mountHost       ATTRIBUTE ::= {
                         WITH SYNTAX caseIgnoreString
                         EQUALITY MATCHING RULE caseIgnoreMatch
                         SINGLE VALUE
                         ID { <oid2> }
         }

- The mount host. mountHost ATTRIBUTE ::= { WITH SYNTAX caseIgnoreString EQUALITY MATCHING RULE caseIgnoreMatch SINGLE VALUE ID { <oid2> } }

         - The file system to mount.
         mountDirectory  ATTRIBUTE ::= {
                         WITH SYNTAX caseIgnoreString
                         EQUALITY MATCHING RULE caseIgnoreMatch
                         SINGLE VALUE
                         ID { <oid3> }
         }

- The file system to mount. mountDirectory ATTRIBUTE ::= { WITH SYNTAX caseIgnoreString EQUALITY MATCHING RULE caseIgnoreMatch SINGLE VALUE ID { <oid3> } }

         - The type of file system being mounted.
         mountType       ATTRIBUTE ::= {
                         WITH SYNTAX INTEGER { ufs(1),
                                               hsfs(2),
                                               nfs(3),
                                               rfs(4)
                                             }
                         EQUALITY MATCHING RULE integerMatch
                         SINGLE VALUE
                         ID { <oid4> }
         }

- The type of file system being mounted. mountType ATTRIBUTE ::= { WITH SYNTAX INTEGER { ufs(1), hsfs(2), nfs(3), rfs(4) } EQUALITY MATCHING RULE integerMatch SINGLE VALUE ID { <oid4> } }

Kempf, et al.                Informational                     [Page 20]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 20] RFC 2926 Conversion of LDAP Schemas September 2000

         - Options for the mount operation.
         mountOption     ATTRIBUTE ::= {
                         WITH SYNTAX caseIgnoreString
                         EQUALITY MATCHING RULE caseIgnoreString
                         ID { <oid5> }
         }

- Options for the mount operation. mountOption ATTRIBUTE ::= { WITH SYNTAX caseIgnoreString EQUALITY MATCHING RULE caseIgnoreString ID { <oid5> } }

         - How often to dump the file system.
         mountDumpFrequency      ATTRIBUTE :: = {
                                 WITH SYNTAX  INTEGER (0..9)
                                 EQUALITY MATCHING RULE integerMatch
                                 SINGLE VALUE
                                 ID { <oid6> }
         }

- How often to dump the file system. mountDumpFrequency ATTRIBUTE :: = { WITH SYNTAX INTEGER (0..9) EQUALITY MATCHING RULE integerMatch SINGLE VALUE ID { <oid6> } }

         - Boot time mount pass number.
         mountPassNo     ATTRIBUTE ::= {
                         WITH SYNTAX INTEGER
                         EQUALITY MATCHING RULE integerMatch
                         SINGLE VALUE
                         ID { <oid7> }
         }

- Boot time mount pass number. mountPassNo ATTRIBUTE ::= { WITH SYNTAX INTEGER EQUALITY MATCHING RULE integerMatch SINGLE VALUE ID { <oid7> } }

   The translated SLP template is:

The translated SLP template is:

      template-type = mount

template-type = mount

      template-version = 1.0

template-version = 1.0

      template-description = "Describes a remote filesystem access
      protocol"

template-description = "Describes a remote filesystem access protocol"

      template-url-syntax =
                   filesystem   = 1*[ DIGIT / ALPHA ]
                   urlpath = "/" filesystem

template-url-syntax = filesystem = 1*[ DIGIT / ALPHA ] urlpath = "/" filesystem

      mountHost = STRING L
      # ASN.1: Case Ignore String, Single Value
      # The mount host

mountHost = STRING L # ASN.1: Case Ignore String, Single Value # The mount host

      mountDirectory = STRING L
      # ASN.1: Case Ignore String, Single Value
      # The filesystem to mount

mountDirectory = STRING L # ASN.1: Case Ignore String, Single Value # The filesystem to mount

Kempf, et al.                Informational                     [Page 21]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 21] RFC 2926 Conversion of LDAP Schemas September 2000

      mountType = STRING L
      ufs
      # ASN.1: Enumeration, Single Value
      # ASN.1 Mapping: ufs = 1, hsfs = 2, nfs = 3, rfs = 4
      # The type of the filesystem being mounted
      ufs, hsfs, nfs, rfs

mountType = STRING L ufs # ASN.1: Enumeration, Single Value # ASN.1 Mapping: ufs = 1, hsfs = 2, nfs = 3, rfs = 4 # The type of the filesystem being mounted ufs, hsfs, nfs, rfs

      mountOption = STRING M O L
      # ASN.1: Case Ignore String
      # mount options for this filesystem

mountOption = STRING M O L # ASN.1: Case Ignore String # mount options for this filesystem

      mountDumpFrequency = INTEGER O
      0

mountDumpFrequency = INTEGER O 0

      # ASN.1: Integer Range, Single Value
      # How often to dump this filesystem
      0, 1, 2, 3, 4, 5, 6, 7, 8, 9

# ASN.1: Integer Range, Single Value # How often to dump this filesystem 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

      mountPassNo = INTEGER O
      # ASN.1: Integer, Single Value
      # Boot time mount pass number

mountPassNo = INTEGER O # ASN.1: Integer, Single Value # Boot time mount pass number

5.0 Representing SLP Service Advertisements in an LDAP DIT

5.0 Representing SLP Service Advertisements in an LDAP DIT

   In addition to translating between SLP templates and LDAP schema,
   another area requiring compatibility is the representation of SLP
   service advertisements in an LDAP DIT. A standardized representation
   for service information allows SLP DAs to store service
   advertisements in LDAP, and for LDAP clients to query the DIT for
   those services.  Similarly, if LDAP clients represent service
   information in the same form, SLP clients can benefit from
   interoperability.

In addition to translating between SLP templates and LDAP schema, another area requiring compatibility is the representation of SLP service advertisements in an LDAP DIT. A standardized representation for service information allows SLP DAs to store service advertisements in LDAP, and for LDAP clients to query the DIT for those services. Similarly, if LDAP clients represent service information in the same form, SLP clients can benefit from interoperability.

   A service advertisement contains the service URL in a 'labeledURI'
   attribute [11]. The labeledURI attribute in a service advertisement
   should only contain the service URL for the service, with no
   additional label. It is recommended that the labeledURI be used as
   the RDN for the service object in the DIT.

A service advertisement contains the service URL in a 'labeledURI' attribute [11]. The labeledURI attribute in a service advertisement should only contain the service URL for the service, with no additional label. It is recommended that the labeledURI be used as the RDN for the service object in the DIT.

   Although service advertisements can appear anywhere within the DIT,
   it is recommended that all services be stored under a single common
   point, or root node, to facilitate searching in a domain. This allows
   a  client to search for all of advertisements of a particular service
   type, say, for all printers.  The recommended parent entry is one
   named "ou=service" below the entry which is the representation of the
   domain, as described in RFC 2247.

Although service advertisements can appear anywhere within the DIT, it is recommended that all services be stored under a single common point, or root node, to facilitate searching in a domain. This allows a client to search for all of advertisements of a particular service type, say, for all printers. The recommended parent entry is one named "ou=service" below the entry which is the representation of the domain, as described in RFC 2247.

Kempf, et al.                Informational                     [Page 22]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 22] RFC 2926 Conversion of LDAP Schemas September 2000

   For example, a printer service with labeledURI of
   "service:lpr://printsrv/queue1" in the domain foobar.com advertised
   in the LDAP server that holds the entry "dc=foobar,dc=com" tree has
   the following DN:

For example, a printer service with labeledURI of "service:lpr://printsrv/queue1" in the domain foobar.com advertised in the LDAP server that holds the entry "dc=foobar,dc=com" tree has the following DN:

   "labeledURI=service:lpr://printsrv/queue1, ou=service, dc=foobar,
   dc=com"

"labeledURI=service:lpr://printsrv/queue1, ou=service, dc=foobar, dc=com"

   While this leads to a flat space of service storage, since SLP uses
   search filters from LDAP for searches, these filters can be used for
   one-level searches from the root node.

While this leads to a flat space of service storage, since SLP uses search filters from LDAP for searches, these filters can be used for one-level searches from the root node.

   The following example illustrates how an advertisement having a
   simple service type is represented. The advertisement (in conceptual
   form) for a printer is:

The following example illustrates how an advertisement having a simple service type is represented. The advertisement (in conceptual form) for a printer is:

      Service Type: service:lpr://printsrv/queue1
      Scopes: eng,corp
      Attributes:
        description = A general printer for all to use.
        security-mechanisms-supported = none
      Authentication: none

Service Type: service:lpr://printsrv/queue1 Scopes: eng,corp Attributes: description = A general printer for all to use. security-mechanisms-supported = none Authentication: none

   The RDN of the object is labeledURI=service:lpr://printsrv/queue1,
   and the following LDAP search filter will return this object, along
   with any others of the service type "service:lpr" that match the
   other attributes:

The RDN of the object is labeledURI=service:lpr://printsrv/queue1, and the following LDAP search filter will return this object, along with any others of the service type "service:lpr" that match the other attributes:

      (&(service-advert-service-type=service:lpr)
        (service-advert-scopes=eng)
        (service-advert-scopes=corp)
        (description=A general printer for all to use.)
        (security-mechanisms-supported=none))

(&(service-advert-service-type=service:lpr) (service-advert-scopes=eng) (service-advert-scopes=corp) (description=A general printer for all to use.) (security-mechanisms-supported=none))

   Service advertisements in SLP also have a lease time associated with
   them. In LDAP servers that support the extensions for dynamic
   directory services [12], the service advertisement entry objectClass
   should be extended with the dynamicObject class. This allows the
   service advertisement to time out within the LDAP directory server.
   If the LDAP directory server does not support the dynamic directory
   services extension, then advertisement lease timeouts must be handled
   by the SLP agent.

Service advertisements in SLP also have a lease time associated with them. In LDAP servers that support the extensions for dynamic directory services [12], the service advertisement entry objectClass should be extended with the dynamicObject class. This allows the service advertisement to time out within the LDAP directory server. If the LDAP directory server does not support the dynamic directory services extension, then advertisement lease timeouts must be handled by the SLP agent.

   While the service advertisement schema outlined in this section is
   primarily for SLP DAs that use LDAP as a backing store, if LDAP
   agents register services using the same format, complete
   interoperability with SLP is achieved.

While the service advertisement schema outlined in this section is primarily for SLP DAs that use LDAP as a backing store, if LDAP agents register services using the same format, complete interoperability with SLP is achieved.

Kempf, et al.                Informational                     [Page 23]

RFC 2926               Conversion of LDAP Schemas         September 2000

Kempf, et al. Informational [Page 23] RFC 2926 Conversion of LDAP Schemas September 2000

6.0 Internationalization Considerations

6.0 Internationalization Considerations

   SLP specifies that an RFC 1766 [13] language code accompanies every
   service advertisement. Language codes for service advertisements in
   LDAP must be represented according to RFC 2596 [14].

SLP specifies that an RFC 1766 [13] language code accompanies every service advertisement. Language codes for service advertisements in LDAP must be represented according to RFC 2596 [14].

   RFC 2596 prohibits language codes in DNs, and specifies that a
   directory server which does not support language codes must treat an
   attribute with a language code as an unrecognized attributes.
   According to RFC 2596, language codes are appended to attribute names
   with a semicolon (";"). For example, the following attribute/value
   pair is in the German locale:

RFC 2596 prohibits language codes in DNs, and specifies that a directory server which does not support language codes must treat an attribute with a language code as an unrecognized attributes. According to RFC 2596, language codes are appended to attribute names with a semicolon (";"). For example, the following attribute/value pair is in the German locale:

      (address;lang-de=44 Bahnhofstrasse, 2365 Weibstadt, Deutschland)

(address;lang-de=44 Bahnhofstrasse, 2365 Weibstadt, Deutschland)

   An attribute with a language tag in a specific locale is considered a
   separate attribute from attributes in other locales.

An attribute with a language tag in a specific locale is considered a separate attribute from attributes in other locales.

   If the service advertisement is in the default SLP locale ("en", no
   dialect), then the language code need not be appended to the
   attribute name.

サービス広告がデフォルトSLP現場(「アン」、方言がない)にあるなら、言語コードを属性名に追加する必要はありません。

   SLP queries in locales other than the default need not be rewritten
   to include language tags before being submitted to the directory
   server.  RFC 2596 specifies that all entries that match are returned,
   including those with language tags, without requiring the language
   tags to be explicitly present in the query. The SLP DA can then
   postprocess the result to select the entries from the required
   locale.

デフォルト以外の現場でのSLP質問は、ディレクトリサーバに提出する前に言語タグを含むように書き直される必要はありません。RFC2596は、合っているすべてのエントリーが返されると指定します、言語タグがあるそれらを含んでいて、言語タグが質問で明らかに現在必要でない。 そして、SLP DAは、必要な現場からエントリーを選択するために結果を後処理できます。

7.0 Security Considerations

7.0 セキュリティ問題

   SLP authenticators are stored with the service advertisement in the
   DIT, as discussed in Section~7ef{slpdit}. LDAP clients need to use
   LDAP authentication [15] to assure that they are connecting with a
   secure server. In particular, SLP DAs that use LDAP as a back end
   store and that implement SLP authentication MUST use LDAP
   authentication to assure that the LDAP entries for their service
   registrations are secure.

サービス広告がDITにある状態で、SLP固有識別文字はセクション~7ef slpditで議論するように保存されます。 LDAPクライアントは、彼らが安全なサーバーに接続していることを保証するのにLDAP認証[15]を使用する必要があります。特に、バックエンド店とそれが、SLPが認証であると実装するときLDAPを使用するSLP DAsは、彼らのサービス登録証明書のためのLDAPエントリーが安全であることを保証するのにLDAP認証を使用しなければなりません。

Acknowledgements

承認

   Many thanks are due to Mark Wahl whose detailed and insightful
   comments were instrumental in helping improve the technical accuracy
   of this document with respect to LDAP.

ありがとうございます、LDAPに関してこのドキュメントの技術的な精度を改良するのを助ける際に詳細で洞察に満ちたなコメントが手段になっていたマーク・ウォールへの支払われるべきものはそうですか?

Kempf, et al.                Informational                     [Page 24]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[24ページ]のRFC2926変換

8.0 References

8.0の参照箇所

   [1]  Guttman, E., Perkins, C. and J. Kempf, "Service Templates and
        service: Schemes", RFC 2609, April 1999.

[1] Guttman(E.、パーキンス、C.、およびJ.ケンフ)は「Templatesを調整して、以下を修理します」。 「体系」、RFC2609、1999年4月。

   [2]  Wahl, W., Howes, T. and S. Kille, "Lightweight Directory Access
        Protocol (v3)", RFC 2251, December 1997.

[2] ウォールとW.とハウズとT.とS.Kille、「ライトウェイト・ディレクトリ・アクセス・プロトコル(v3)」、RFC2251 1997年12月。

   [3]  International Telecommunications Union. The Directory:Selected
        Attribute Types.  ITU Recommendation X.520. August, 1997.

[3] 国際電気通信組合。 ディレクトリ: 属性タイプを選びました。 ITU推薦X.520。 1997年8月。

   [4]  McLaughlin, L., "Line Printer Daemon Protocol, RFC 1179, August
        1990.

[4] マクラフリン、L.は「1990年8月にプリンタデーモンプロトコル、RFC1179を裏打ちします」。

   [5]  Guttman, E., Perkins, C., Veizades, J. and M. Day, "Service
        Location Protocol Version 2", RFC 2608, April 1999.

[5] Guttman(E.、パーキンス、C.、Veizades、J.、およびM.日)は「1999年4月に位置のプロトコルバージョン2インチ、RFC2608を調整します」。

   [6]  Crocker, D. and P. Overell, "Augmented BNF for Syntax
        Specifications: ABNF", RFC 2234, November 1997.

[6] クロッカー、D.、およびP.Overell、「構文仕様のための増大しているBNF:」 "ABNF"、1997年11月のRFC2234。

   [7]  Howes, T., "The String Representation of LDAP Search Filters",
        RFC 2254, December 1997.

[7] ハウズ、T.、「LDAP検索フィルタのストリング表現」、RFC2254、1997年12月。

   [8]  Wahl, W., Coulbeck, A., Howe, T. and S. Kille, "Lightweight
        Directory Access Protocol (v3): Attribute Syntax Definition",
        RFC 2252, December 1997.

[8] ウォール、W.、Coulbeck、A.、ホウ、T.、およびS.Kille、「軽量のディレクトリアクセスは(v3)について議定書の中で述べます」。 「属性構文定義」、RFC2252、1997年12月。

   [9]  ITU-T Rec. X.680. Abstract Syntax Notation One (ASN.1) -
        Specification of Basic Notation. 1994.

[9] ITU-T Rec。 X.680。 抽象構文記法1(ASN.1)--基本的な記法の仕様。 1994.

   [10] Fleming, P., Jones, K., Lewis, H., and McDonald, I., "Internet
        Printing Protocol (IPP): LDAP Schema for Printer Services", Work
        in Progress.

[10] フレミング、P.、ジョーンズ、K.、ルイス、H.とマクドナルド、I.、「インターネット印刷は以下について議定書の中で述べ(IPP)」。 「プリンタサービスのためのLDAP図式」、処理中の作業。

   [11] Smith, M., "Definition of an X.500 Attribute Type and an Object
        Class to Hold Uniform Resource Identifiers (URIs)", RFC 2079,
        January 1997.

[11] スミス、M.、「X.500の定義はUniform Resource Identifier(URI)を保持するためにタイプとオブジェクトのクラスを結果と考えます」、RFC2079、1997年1月。

   [12] Yaacovi, Y., Wahl, M. and T. Genovese, "Lightweight Directory
        Access Protocol (v3): Extensions for Dynamic Directory
        Services", RFC 2589, May 1999.

[12] Yaacovi、Y.、ウォール、M.、およびT.Genovese、「軽量のディレクトリアクセスは(v3)について議定書の中で述べます」。 「ダイナミックなディレクトリサービスのための拡大」(RFC2589)は1999がそうするかもしれません。

   [13] Alvestrand, H., "Tags for the Identification of Languages", RFC
        1766, December 1997.

Alvestrand(H.)が「言語の識別のためにタグ付けをする」[13]、RFC1766、1997年12月。

   [14] Wahl, M. and T. Howes, "Use of Language Codes in LDAP", RFC
        2596, May 1999.

[14] ウォール、M.、およびT.ハウズ(「LDAPにおける言語コードの使用」、RFC2596)は1999がそうするかもしれません。

Kempf, et al.                Informational                     [Page 25]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[25ページ]のRFC2926変換

   [15] Wahl, M., Alvestrand, H., Hodges, J. and R. Morgan,
        "Authentication Methods for LDAP", RFC 2829, May 2000.

[15] ウォール、M.、Alvestrand、H.、ホッジズ、J.、およびR.モーガン(「LDAPのための認証方法」、RFC2829)は2000がそうするかもしれません。

   [16] Bradner, S., "Key Words for Use in RFCs to Indicate Requirement
        Levels", BCP 14, RFC 2119, March 1997.

[16] ブラドナー、S.、「使用のための要件レベルを示すRFCsのキーワード」、BCP14、RFC2119、1997年3月。

   [17] Dubuisson, O. ASN.1: Communication between Heterogeneous
        Systems. OSS Nokalva, 2000.

[17]Dubuisson、O.ASN.1: 多相系OSS Nokalva、2000のコミュニケーション。

   [18] http://www.srvloc.org

[18] http://www.srvloc.org

9.0 Authors' Addresses

9.0 作者のアドレス

   James Kempf
   Sun Microsystems
   901 San Antonio Avenue
   Palo Alto, CA 94303
   USA

ジェームスケンフサン・マイクロシステムズ901サンアントニオAvenueカリフォルニア94303パロアルト(米国)

   Phone: +1 650 786-5890
   EMail: james.kempf@sun.com

以下に電話をしてください。 +1 650 786-5890 メールしてください: james.kempf@sun.com

   Ryan Moats
   Coreon, Inc.
   15621 Drexel Circle
   Omaha, NE, 68135
   USA

ライアン・モウツCoreon Inc.15621ドレクセル・円のオマハ、Ne、68135米国

   EMail: rmoats@coreon.net

メール: rmoats@coreon.net

   Pete St. Pierre
   Sun Microsystems
   901 San Antonio Avenue
   Palo Alto, CA 94303
   USA

ピートサン・ピエール島サン・マイクロシステムズ901サンアントニオAvenueカリフォルニア94303パロアルト(米国)

   Phone: +1 415 786-5790
   EMail: Pete.StPierre@Eng.Sun.COM

以下に電話をしてください。 +1 415 786-5790 メールしてください: Pete.StPierre@Eng.Sun.COM

Kempf, et al.                Informational                     [Page 26]

RFC 2926               Conversion of LDAP Schemas         September 2000

ケンフ、他 LDAP Schemas2000年9月の情報[26ページ]のRFC2926変換

10.  Full Copyright Statement

10. 完全な著作権宣言文

   Copyright (C) The Internet Society (2000).  All Rights Reserved.

Copyright(C)インターネット協会(2000)。 All rights reserved。

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

それに関するこのドキュメントと翻訳は、コピーして、それが批評するか、またはそうでなければわかる他のもの、および派生している作品に提供するか、または準備されているかもしれなくて、コピーされて、発行されて、全体か一部分配された実装を助けるかもしれません、どんな種類の制限なしでも、上の版権情報とこのパラグラフがそのようなすべてのコピーと派生している作品の上に含まれていれば。 しかしながら、このドキュメント自体は何らかの方法で変更されないかもしれません、インターネット協会か他のインターネット組織の版権情報か参照を取り除くのなどように、それを英語以外の言語に翻訳するのが著作権のための手順がインターネットStandardsプロセスで定義したどのケースに従わなければならないか、必要に応じてさもなければ、インターネット標準を開発する目的に必要であるのを除いて。

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

上に承諾された限られた許容は、永久であり、インターネット協会、後継者または案配によって取り消されないでしょう。

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

このドキュメントとそして、「そのままで」という基礎とインターネットの振興発展を目的とする組織に、インターネット・エンジニアリング・タスク・フォースが速達の、または、暗示しているすべての保証を放棄するかどうかというここにことであり、他を含んでいて、含まれて、情報の使用がここに侵害しないどんな保証も少しもまっすぐになるという情報か市場性か特定目的への適合性のどんな黙示的な保証。

Acknowledgement

承認

   Funding for the RFC Editor function is currently provided by the
   Internet Society.

RFC Editor機能のための基金は現在、インターネット協会によって提供されます。

Kempf, et al.                Informational                     [Page 27]

ケンフ、他 情報[27ページ]

一覧

 RFC 1〜100  RFC 1401〜1500  RFC 2801〜2900  RFC 4201〜4300 
 RFC 101〜200  RFC 1501〜1600  RFC 2901〜3000  RFC 4301〜4400 
 RFC 201〜300  RFC 1601〜1700  RFC 3001〜3100  RFC 4401〜4500 
 RFC 301〜400  RFC 1701〜1800  RFC 3101〜3200  RFC 4501〜4600 
 RFC 401〜500  RFC 1801〜1900  RFC 3201〜3300  RFC 4601〜4700 
 RFC 501〜600  RFC 1901〜2000  RFC 3301〜3400  RFC 4701〜4800 
 RFC 601〜700  RFC 2001〜2100  RFC 3401〜3500  RFC 4801〜4900 
 RFC 701〜800  RFC 2101〜2200  RFC 3501〜3600  RFC 4901〜5000 
 RFC 801〜900  RFC 2201〜2300  RFC 3601〜3700  RFC 5001〜5100 
 RFC 901〜1000  RFC 2301〜2400  RFC 3701〜3800  RFC 5101〜5200 
 RFC 1001〜1100  RFC 2401〜2500  RFC 3801〜3900  RFC 5201〜5300 
 RFC 1101〜1200  RFC 2501〜2600  RFC 3901〜4000  RFC 5301〜5400 
 RFC 1201〜1300  RFC 2601〜2700  RFC 4001〜4100  RFC 5401〜5500 
 RFC 1301〜1400  RFC 2701〜2800  RFC 4101〜4200 

スポンサーリンク

フロートに後続するボックスの幅がフロートに合わせて短縮される

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る