rfc2654.txt

来自「著名的RFC文档,其中有一些文档是已经翻译成中文的的.」· 文本 代码 · 共 1,348 行 · 第 1/4 页

TXT
1,348
字号
RFC 2654           Tagged Index Object for use in CIP        August 1999   -  "tagBased": Only the changed tokens are included, but then both      the old version, if there was one, as well as the new one, if      there is one.   The Update Block also supports the idea of indexing new attributes   that were not previously included in the tagged index object.  For   example, if the transmitting index server began including index   information on postal addresses, then it could include an Update   Block in the index object that included all the index information on   postal addresses for all records in its information base, and   indicate that nothing else has changed.5. Examples   In the following sections, for each different consistencybase type,   the tagged index object is represented for the following scenario;   The examples starts with one full update and following that a set of   updates. The underlying information is presented in the LDIF [6]   format.5.1 The original database   dn: cn=Barbara Jensen, ou=Product Development, o=Ace Industry, c=US   objectclass: top   objectclass: person   objectclass: organizationalPerson   cn: Barbara Jensen   cn: Barbara J Jensen   cn: Babs Jensen   sn: Jensen   uid: bjensen   dn: cn=Bjorn Jensen, ou=Accounting, o=Ace Industry, c=US   objectclass: top   objectclass: person   objectclass: organizationalPerson   cn: Bjorn Jensen   sn: Jensen   title: Accounting manager   dn: cn=Gern Jensen, ou=Product Testing, o=Ace Industry, c=US   objectclass: top   objectclass: person   objectclass: organizationalPerson   cn: Gern Jensen   cn: Gern O Jensen   sn: Jensen   title: testpilot   dn: cn=Horatio Jensen, ou=Product Testing, o=Ace Industry, c=US   objectclass: topHedberg, et al.               Experimental                     [Page 13]RFC 2654           Tagged Index Object for use in CIP        August 1999   objectclass: person   objectclass: organizationalPerson   cn: Horatio Jensen   cn: Horatio N Jensen   sn: Jensen   title: testpilot5.1.1 "Complete" consistency based full update   version: x-tagged-index-1   updatetype: total   thisupdate: 855938804   BEGIN IO-Schema   cn: TOKEN   sn: FULL   title: TOKEN   END IO-Schema   BEGIN Index-Info   cn: 1/Barbara   -1/J   -1/Babs   -*/Jensen   -2/Bjorn   -3/Gern   -3/O   -4/Horatio   -4/N   sn: */Jensen   title: 1/product   -1-2/manager   -1/accounting   -3,4/testpilot   END Index-Info5.1.2 "tag" consistency based full update   version: x-tagged-index-1   updatetype: total   thisupdate: 855938804   BEGIN IO-Schema   cn: TOKEN   sn: FULL   title: TOKEN   END IO-Schema   BEGIN Index-Info   cn: 1/Barbara   -1/J   -1/BabsHedberg, et al.               Experimental                     [Page 14]RFC 2654           Tagged Index Object for use in CIP        August 1999   -*/Jensen   -2/Bjorn   -3/Gern   -3/O   -4/Horatio   -4/N   sn: */Jensen   title: 1/product   -1-2/manager   -1/accounting   -3,4/testpilot   END Index-Info5.1.3 "unique" consistency based full update   version: x-tagged-index-1   updatetype: total   thisupdate: 855938804   BEGIN IO-Schema   dn: FULL   cn: TOKEN   sn: FULL   title: TOKEN   END IO-Schema   BEGIN Index-Info   dn: 1/cn=Barbara Jensen, ou=Product Development, o=Ace Industry, c=US   -2/cn=Bjorn Jensen, ou=Accounting, o=Ace Industry, c=US   -3/cn=Gern Jensen, ou=Product Testing, o=Ace Industry, c=US   -4/cn=Horatio Jensen, ou=Product Testing, o=Ace Industry, c=US   cn: 1/Barbara   -1/J   -1/Babs   -*/Jensen   -2/Bjorn   -3/Gern   -3/O   -4/Horatio   -4/N   sn: */Jensen   title: 1/product   -1-2/manager   -1/accounting   -3,4/testpilot   END Index-InfoHedberg, et al.               Experimental                     [Page 15]RFC 2654           Tagged Index Object for use in CIP        August 19995.2 First update   Gern Jensen's entry above changes to:   dn: cn=Gern Jensen, ou=Product Testing, o=Ace Industry, c=US   objectclass: top   objectclass: person   objectclass: organizationalPerson   cn: Gern Jensen   cn: Gern O Jensen   sn: Jensen   title: chiefpilot5.2.1 First update using "complete"   version: x-tagged-index-1   updatetype: incremental   lastupdate: 855940000   thisupdate: 855938804   BEGIN IO-schema   cn: TOKEN   sn: FULL   title: FULL   END IO-Schema   BEGIN Update Block   BEGIN Old   cn: 1/Gern   cn: 1/O   cn: 1/Jensen   sn: 1/Jensen   title: 1/testpilot   END Old   BEGIN New   cn: 1/Gern   cn: 1/O   cn: 1/Jensen   sn: 1/Jensen   title: 1/chiefpilot   END New   END Update BlockHedberg, et al.               Experimental                     [Page 16]RFC 2654           Tagged Index Object for use in CIP        August 19995.2.2 First update using "tag" consistency   version: x-tagged-index-1   updatetype: incremental   lastupdate: 855940000   thisupdate: 855938804   BEGIN IO-schema   cn: TOKEN   sn: FULL   title: FULL   END IO-Schema   BEGIN Update Block   BEGIN Old   title: 3/testpilot   END Old   BEGIN New   title: 3/chiefpilot   END New   END Update Block5.2.3 First update using "unique" ID's   version: x-tagged-index-1   updatetype: incremental   lastupdate: 855940000   thisupdate: 855938804   BEGIN IO-schema   cn: TOKEN   sn: FULL   title: FULL   END IO-Schema   BEGIN Update Block   BEGIN Old   dn: 1/cn=Gern Jensen, ou=Product Testing, o=Ace Industry, c=US   title: 1/testpilot   END Old   BEGIN New   dn: 1/cn=Gern Jensen, ou=Product Testing, o=Ace Industry, c=US   title: 1/chiefpilot   END New   END Update BlockHedberg, et al.               Experimental                     [Page 17]RFC 2654           Tagged Index Object for use in CIP        August 19995.3 Second update   # Add a new entry   dn: cn=Bo Didley, ou=Marketing, o=Ace Industry, c=US   changetype: add   objectclass: top   objectclass: person   objectclass: organizationalPerson   cn: Bo Didley   sn: Didley   title: Policy Maker   # Delete an existing entry   dn: cn=Bjorn Jensen, ou=Accounting, o=Ace Industry, c=US   changetype: delete   # Modify all other entries: adding an additional locality value   dn: cn=Barbara Jensen, ou=Product Development, o=Ace Industry, c=US   changetype: modify   add: locality   locality: New Jersey   dn: cn=Gern Jensen, ou=Product Testing, o=Ace Industry, c=US   changetype: modify   add: locality   locality: New Orleans   dn: cn=Horatio Jensen, ou=Product Testing, o=Ace Industry, c=US   changetype: modify   add: locality   locality: New Caledonia5.3.1 "complete"   version: x-tagged-index-1   updatetype: incremental   lastupdate: 855938804   thisupdate: 855939525   BEGIN IO-schema   cn: TOKEN   sn: FULL   title: FULL   locality: TOKEN   END IO-Schema   BEGIN Add Block   cn: 1/Bo   -1/Didley   sn: 1/Didley   title: 1/Policy   -1/maker   locality: 1/New   -1/YorkHedberg, et al.               Experimental                     [Page 18]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?