I'm in the middle of developing a PeopleSoft Driver and noticed some
strange behaviour when using a wildcard in a query to eDir
(destQueryProcessor). I have the following query:


Code:
--------------------

<nds dtdversion="3.5" ndsversion="8.x">
<input>
<query class-name="User" dest-dn="Meta\Users\Students" scope="subtree">
<search-class class-name="User"/>
<search-attr attr-name="ULCNstudyClass">
<value>*#LEI01-8888-1005</value>
</search-attr>
<read-attr attr-name="workforceID"/>
</query>
</input>
</nds>

--------------------


As a test I have only one user object that matches on this query with 1
matching attribute value. The searched attribute values are:


Code:
--------------------

<attr attr-name="ULCNstudyClass">
<value type="string">10LEI0120903298#LEI01-2090-3298</value>
<value type="string">10LEI0120903301#LEI01-2090-3301</value>
<value type="string">10LEI0120903324#LEI01-2090-3324</value>
<value type="string">10LEI0120903331#LEI01-2090-3331</value>
<value type="string">10LEI0120905116#LEI01-2090-5116</value>
<value type="string">10LEI0120905117#LEI01-2090-5117</value>
<value type="string">10LEI0120905118#LEI01-2090-5118</value>
<value type="string">10LEI0120905119#LEI01-2090-5119</value>
<value type="string">10LEI0120905120#LEI01-2090-5120</value>
<value type="string">10LEI0120905121#LEI01-2090-5121</value>
<value type="string">10LEI0120905122#LEI01-2090-5122</value>
<value type="string">10LEI0120905124#LEI01-2090-5124</value>
<value type="string">10LEI0120905125#LEI01-2090-5125</value>
<value type="string">10LEI0120905126#LEI01-2090-5126</value>
<value type="string">10LEI0120905135#LEI01-2090-5135</value>
<value type="string">10LEI0120905141#LEI01-2090-5141</value>
<value type="string">10LEI0120905144#LEI01-2090-5144</value>
<value type="string">10LEI0120905145#LEI01-2090-5145</value>
<value type="string">10LEI0120905149#LEI01-2090-5149</value>
<value type="string">10LEI0120905150#LEI01-2090-5150</value>
<value type="string">10LEI0120905151#LEI01-2090-5151</value>
<value type="string">10LEI0120905152#LEI01-2090-5152</value>
<value type="string">10LEI0120905153#LEI01-2090-5153</value>
<value type="string">10LEI0120905154#LEI01-2090-5154</value>
<value type="string">10LEI0120905155#LEI01-2090-5155</value>
<value type="string">10LEI0120905156#LEI01-2090-5156</value>
<value type="string">10LEI0120905157#LEI01-2090-5157</value>
<value type="string">10LEI0120905158#LEI01-2090-5158</value>
<value type="string">10LEI0120905159#LEI01-2090-5159</value>
<value type="string">10LEI0120905655#LEI01-2090-5655</value>
<value type="string">10LEI0120905656#LEI01-2090-5656</value>
<value type="string">10LEI0120905658#LEI01-2090-5658</value>
<value type="string">10LEI0120905659#LEI01-2090-5659</value>
<value type="string">10LEI0120905660#LEI01-2090-5660</value>
<value type="string">10LEI0188881005#LEI01-8888-1005</value>
</attr>

--------------------


Now comes the funny part. The destQueryProcessor returns the following
query result:


Code:
--------------------

<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<instance class-name="User" event-id="0" qualified-src-dn="O=Meta\OU=Users\OU=Students\OU=Active\CN=s0000 657" src-dn="\IDVAULT-TREE-DEV\Meta\Users\Students\Active\s0000657" src-entry-id="41155">
<association state="associated">SNS_PS_STUDENT_CI/0000657</association>
<attr attr-name="workforceID">
<value timestamp="1263388237#3" type="string">0000657</value>
</attr>
</instance>
<status event-id="0" level="success"></status>
</output>
</nds>

--------------------


Anybody got a clue why this is happening? I expected only 1 instance as
a query result. Why do I get the same user multiple times in my query
result?


--
sveldhuisen
------------------------------------------------------------------------
sveldhuisen's Profile: http://forums.novell.com/member.php?userid=18142
View this thread: http://forums.novell.com/showthread.php?t=398109