Identity Manager 4.0 Scripting driver does not handle inverted commas correctly

  • 7014523
  • 10-Feb-2014
  • 26-Jan-2015

Environment

NetIQ Identity Manager 4.0
NetIQ Identity Manager 4.0 Scripting Driver

Situation

Attributes which contain inverted commas will get corrupted when the attribute is written to the temporary file.

Remote Loader trace:

2014-02-05 12:35:42  [8840@8084] (drv_loopback):  --->DriverShim Subscriber loopback: starting...
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     COMMAND=modify
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     ASSOCIATION=test1#1
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     CLASS_NAME=User                     
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     EVENT_ID=myserver#12345678901234#9#9:abcdefgh-1234-5678-9012-abcdefghtijk
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     SRC_DN=\MYTREE\data\users\test1
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     SRC_ENTRY_ID=1234567
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     REMOVE_testattribute="Test"
2014-02-05 12:35:42  [8840@8084] (drv_loopback):     ADD_testattribute="Tests"
2014-02-05 12:35:42  [8840@8084] (drv_loopback):  --->DriverShim Subscriber loopback: checking filter...
2014-02-05 12:35:42  [8840@8084] (drv_loopback):  --->DriverShim Subscriber loopback: class not found in Publisher
filter
2014-02-05 12:35:42  [8840@8084] (trace):  WindowsScript modify handler
2014-02-05 12:35:42  [8840@8084] (trace):  WindowsScript modify handler creating input document
2014-02-05 12:35:42  [8840@8084] (trace):  C:\Users\idmdriver\AppData\Local\Temp\WSD1234.tmp

C:\Users\idmdriver\AppData\Local\Temp\WSD1234.tmp contains:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<modify timestamp="1391600141#2" src-entry-id="1234567" src-dn="\MYTREE\data\users\test1"
qualified-src-dn="C=de\O=lrz-muenchen\OU=Kennungen\mwnLRZid=00000000015F4AEC" event-id="myserver#12345678901234#9#9:abcdefgh-1234-5678-9012-abcdefghtijk" class-name="User" cached-time="20140205113541.495Z">
    <association state="associated">test1#1</association>
    <modify-attr attr-name="testattribute">
        <remove-value>
            <value type="string" timestamp="1391598939#2">"Test"</value>
        </remove-value>
        <add-value>
            <value type="string" timestamp="1391600141#2">""ests""</value>
        </add-value>
    </modify-attr>
</modify>

The "Tests" is being replaced with ""ests"".


Resolution

This will be fixed in an upcoming release of the Scripting Driver (version later than 3.6.1.11).

A preliminary build is available upon request.