iManager does not like you setting an attribute value to blank. A small LDIF like below will do the trick:
dn: cn=tomjones,ou=users,o=data
change type: modify
add: telephoneNumber
telephoneNumber:
The following will strip blank attributes from an IDM Driver. Normally add to output transform.
<rule>
<description>Strip Empty Values [Add]</description>
<conditions>
<and>
<if-operation mode="case" op="equal">add</if-operation>
</and>
</conditions>
<actions>
<do-strip-xpath expression="add-attr[value='']"/>
<do-strip-xpath expression="add-attr[not(*)]"/>
</actions>
</rule>
<rule>
<description>Strip Empty Values [Modify]</description>
<conditions>
<or>
<if-operation mode="case" op="equal">modify</if-operation>
<if-operation mode="case" op="equal">sync</if-operation>
</or>
</conditions>
<actions>
<do-strip-xpath expression="modify-attr/add-value[value='']"/>
<do-strip-xpath expression="modify-attr[not(*)]"/>
</actions>
</rule>
No comments:
Post a Comment