Novell is now a part of Micro Focus

Modifying Custom Attributes with the IDM Null Driver

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 12 Dec 2007


A Forum reader recently asked:

"I have IDM 3.5 with a Identity Vault and other drivers, such as AD, JDBC, and Notes. Can I modify a custom attribute on users in a OU in my IDV? This operation is captured by a loopback driver that create a user on another OU of my driver, with some attributes populated."

And here's the response from Father Ramon ...


Here's what you need to do:

1. Use the null driver rather than the loopback driver.

2. Add a User to the subscriber filter.

3. Set it to synchronize on the subscriber channel and ignore on the publisher channel.

4. Add the Description attribute to the User class in the filter

5. Set it to notify on the subscriber channel and ignore on the publisher channel.

6. Add a subscriber channel event transformation - something like this:

   <description>create portal user</description>
     <if-class-name mode="nocase" op="equal">User</if-class-name>
     <if-src-dn op="in-container">users</if-src-dn>
     <if-op-attr mode="nocase" name="Description" 
    <do-set-local-variable name="portalDN" scope="policy">
      <token-text xml:space="preserve">portal\</token-text>
    <do-add-src-object class-name="User">
      <token-local-variable name="portalDN"/>
    <do-add-src-attr-value class-name="User" name="Surname">
      <token-local-variable name="portalDN"/>
      <token-src-attr name="Surname"/>
   <description>Veto further processing</description>

7. Duplicate the last action in the first rule for each attribute you want to copy from the original object to the new object.

For information on the difference between a loopback driver and a null driver, see:

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates