Novell is now a part of Micro Focus

Inserting and Removing Users in Groups in an IDV Tree

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 12 Dec 2007


A Forum reader recently asked: "Here's the functionality I need: In the "IDV" tree, an admin places a user into group "UsersForOtherTree". Insertion into this group triggers a user create with password sync in the second tree. In the "IDV" tree, an admin removes a user from group "UsersForOtherTree". Removal from this group triggers a user delete from the second tree. That's it - nothing elaborate. I don't need to manage group memberships on the second tree. I need a create and a delete operation based on insertion into or removal from one specific group in the authoritative tree." And here's the response from Father Ramon ...


This is what you are going to want to do on the source tree: 1. Edit your filter to have in it only the Classes and Attributes that you want to synchronize. 2. Add Group Membership to the filter for Users and set to Ignore on Publisher Channel, and notify on subscriber channel. 3. Add an event transformation policy on the subscriber channel with a rule like this:
  <description>Handle controlling group membership</description>
    <if-class-name mode="nocase" op="equal">User</if-class-name>
    <if-src-dn op="available"/>
    <if-src-attr mode="src-dn" name="Group Membership" 
      <if-association op="associated"/>
     <do-delete-dest-object direct="true"/>
If you are using a version of IDM older than 3.5, you would have to rewrite the policy to use more than one rule because you wouldn't be able to nest conditions.

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

© Copyright Micro Focus or one of its affiliates