D.2 Sample for Renaming: Modifying a User Last Name

This section shows a sample of the events when changing a last name from Doe to Doerr in the Identity Vault. Refer to Section 5.9, Move/Rename for more information.

D.2.1 Modify Event Produced by the Metadirectory Engine

<nds dtdversion="2.0" ndsversion="8.x">
  <source>
    <product version="2.0.5.38 ">Identity Manager</product>
    <contact>Novell, Inc.</contact>
  </source>
  <input>
    <modify class-name="User" 
            event-id="MYSERVER-NDS#20040603175500#1#3" 
            qualified-src-dn="O=DirXML\OU=Notes\OU=Users\OU=sales\CN=John Doe" 
            src-dn="\mytree\DirXML\Notes\Users\sales\John Doe" 
            src-entry-id="38727" 
            timestamp="1086291578#2">
      <association state="associated">BB888BB0C35D13EC87256EA8006296CE</association>
      <modify-attr attr-name="Surname">
        <remove-value>
          <value timestamp="1086285300#3" type="string">Doe</value>
        </remove-value>
        <add-value>
          <value timestamp="1086291578#2" type="string">Doerr</value>
        </add-value>
      </modify-attr>
    </modify>
  </input>
</nds>

D.2.2 Modify Event Received by the Notes Driver Shim

<nds dtdversion="2.0" ndsversion="8.x">
  <source>
    <product version="2.0.5.38 ">Identity Manager</product>
    <contact>Novell, Inc.</contact>
  </source>
  <input>
    <modify class-name="Person" 
                drv-param-cert-id="sales-cert-id-file"  
                drv-param-cert-pwd="sales-cert-id-password"
                event-id="MYSERVER-NDS#20040603175500#1#3" 
                qualified-src-dn="O=DirXML\OU=Notes\OU=Users\OU=sales\CN=John Doe" 
                src-dn="\mytree\DirXML\Notes\Users\sales\John Doe" 
                src-entry-id="38727" 
                tell-adminp-process="tell adminp process all" 
                timestamp="1086291578#2">
      <association state="associated">BB888BB0C35D13EC87256EA8006296CE</association>
      <modify-attr attr-name="LastName">
        <remove-value>
          <value timestamp="1086285300#3" type="string">Doe</value>
        </remove-value>
        <add-value>
          <value timestamp="1086291578#2" type="string">Doerr</value>
        </add-value>
      </modify-attr>
    </modify>
  </input>
</nds>