Environment
Novell Identity Manager Driver - Lotus Notes
Situation
There is a need to place the Lotus Notes mail files for separate
departments into their own directories when the user is created by
the Novell Identity Manager Lotus Notes driver. On the driver
configuration it is only possible to specify one location.
Resolution
The "mail-file-subdir" XML element can be used to modify the
location of the mail file during a new user creation. This element
has to be placed into the document on the Subscriber channel, so
the driver can pick it up and change the mail file location. A
sample rule is included in the Additional Informations section.
Please note this is a sample rule and should need further customization depending on the environment!
Please note this is a sample rule and should need further customization depending on the environment!
Additional Information
<rule>
<description>Change the mailfile location</description>
<conditions>
<and>
<if-op-attr name="mailfile-path" op="not-available"/>
</and>
</conditions>
<actions>
<do-set-xml-attr expression="../add[@class-name='User']" name="mail-file-subdir">
<arg-string>
<token-text xml:space="preserve">mail\newdir\test</token-text>
</arg-string>
</do-set-xml-attr>
</actions>
</rule>
<description>Change the mailfile location</description>
<conditions>
<and>
<if-op-attr name="mailfile-path" op="not-available"/>
</and>
</conditions>
<actions>
<do-set-xml-attr expression="../add[@class-name='User']" name="mail-file-subdir">
<arg-string>
<token-text xml:space="preserve">mail\newdir\test</token-text>
</arg-string>
</do-set-xml-attr>
</actions>
</rule>