Article

pnuffer's picture
article
Reads:

4282

Score:
5
5
1
 
Comments:

0

IDM Notes Driver and the Alternate Common Name

(View Disclaimer)

Question

When the Notes driver renames a Notes user, is there any way I can pass an 'Alternate Name' to the Notes rename process?

Answer

Try using a subscriber policy to set the Notes destination attribute named [AltCommonName]. This is not a real attribute in the Notes database, but it is interpreted by the driver as a special command to set the Alternate Common Name for an AdminP user rename request. Setting this special attribute alone will not automatically trigger the NotesDriverShim to perform an AdminP user rename request. This attribute must be accompanied by a change in the FirstName, LastName, or MiddleInitial fields (as modify-attr elements), and/or an XML attribute of adminp-rename-user="true" on the modify element (in addition to appropriate cert-id and cert-password references, etc).

If the NotesDriverShim received a document similar to this:

<nds dtdversion="2.0" ndsversion="8.x">
  <source>
    <product version="3.0.0.2823">DirXML</product>
    <contact>Novell, Inc.</contact>
  </source>
  <input>
    <modify adminp-rename-user="true"
            allow-adminp-support="true"
            class-name="User"
            drv-param-cert-id="mktg-cert-id-file"
            drv-param-cert-pwd="mktg-cert-id-password"
            event-id="SERVER-NDS#20051129190509#1#1"
            qualified-src-dn="O=DirXML\OU=Notes\OU=mktg\CN=WileCoyote"
            src-dn="\SERVER_TREE\DirXML\Notes\mktg\WileCoyote"
            src-entry-id="33029"
            tell-adminp-process="tell adminp process all"
            timestamp="1133291109#1">
      <association state="associated">E88C2874C38855A6872570C80068D8B3</association>
      <modify-attr attr-name="[AltCommonName]">
        <add-value>
          <value type="string">Wiley2</value>
        </add-value>
      </modify-attr>
    </modify>
  </input>
</nds>

... then the driver would issue an AdminP rename request that attempted to rename 'WileCoyote' with an Alternate name of 'Wiley2'.

Special attributes interpreted by the NotesDriverShim when renaming a user are:

* [AltCommonName]
* [AltOrgUnit]
* [AltLanguage]
* [OrgUnit]


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell