Error 9122 when the results of a query only contain an association value but no source DN.

  • 7001770
  • 31-Oct-2008
  • 27-Apr-2012

Environment

Novell Identity Manager Engine

Situation

Error 9122 when the results of a query only contain an association value but no source DN.  This only happens with IDM 3.6.0.  Prior versions of IDM do not have this problem

Resolution

This has been reported to development.  A fix will require an engine patch for IDM 3.6.0.
 
As a workaround, please do the following:
Add a policy in the driver's Publisher Input Transformation policy with the logic below. (steps are for iManager):
 
1 - Create a new DirXML-Script Policy
2 - Go to Edit XML
3 - Make sure that "Enable XML Editing" is checked
4 - Delete the XML from that window, and paste the one bellow instead:
<policy>
 <rule>
  <description>WorkAround</description>
  <comment xml:space="preserve">WorkAround until a patch is released for BUG 432959</comment>
  <conditions>
   <and>
    <if-operation mode="case" op="equal">instance</if-operation>
    <if-xml-attr name="src-dn" op="not-available"/>
   </and>
  </conditions>
  <actions>
   <do-set-xml-attr expression="." name="src-dn">
    <arg-string>
     <token-text xml:space="preserve"/>
    </arg-string>
   </do-set-xml-attr>
  </actions>
 </rule>
</policy>
 
5 - Hit Ok to save the changes, restart the driver and test.

Additional Information

This error may show up in other versions of IDM if customization of policies happened but were not done correctly.