When the Notes driver renames a Notes user, is there any way I can pass an ‘Alternate Name’ to the Notes rename process?
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="126.96.36.19923">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:
Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment. It just worked for at least one person, and perhaps it will be useful for you too. Be sure to test in a non-production environment.