im working on getting multi-valued attribute from notes-database to a
nodeset and comparing those nodes with the Full Name attribute in eDir.
for the first i need to get those nodes looped through and done
something - but as you can see in the trace to correct number of
"operations" is done on the nodeset, but always on the same (first)
node?

--------------------------------------------------------------------------
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product build="20070918_0802 " instance="OrgaDir"
version="3.5.1">Identity Manager Driver for Lotus Notes</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User" dest-dn="pummel\m09916\r99c001"
dest-entry-id="37733" event-id="60412C532AE8EC42C12573410041FF73 -
1229435479892" src-dn="\AT\pummel\Florian Zimmermann">
<association
state="associated">60412C532AE8EC42C12573410041FF7 3</association>
<modify-attr attr-name="Internet EMail Address">
<remove-value>
<value timestamp="1229435088#2"
type="string">"Florian Zimmermann" &lt;brizz@pummel.at></value>
</remove-value>
</modify-attr>
<modify-attr attr-name="Internet EMail Address">
<add-value>
<value>florian.zimmermann@pummel.at</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[12/16/08 14:51:19.944]:OrgaDir PT: Evaluating selection criteria
for rule 'get_notes-fullname'.
[12/16/08 14:51:19.944]:OrgaDir PT: (if-class-name equal "User") =
TRUE.
[12/16/08 14:51:19.944]:OrgaDir PT: (if-association associated) =
TRUE.
[12/16/08 14:51:19.944]:OrgaDir PT: Rule selected.
[12/16/08 14:51:19.944]:OrgaDir PT: Applying rule
'get_notes-fullname'.
[12/16/08 14:51:19.944]:OrgaDir PT: Action:
do-set-local-variable("var_pummelnotesfullname",scope="policy", arg-node-set(token-src-attr("pummelnotesfullname"))).
[12/16/08 14:51:19.944]:OrgaDir PT:
arg-node-set(token-src-attr("pummelnotesfullname"))
[12/16/08 14:51:19.944]:OrgaDir PT:
token-src-attr("pummelnotesfullname")
[12/16/08 14:51:19.944]:OrgaDir PT: Query from policy
[12/16/08 14:51:19.944]:OrgaDir PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="User" dest-dn="\AT\pummel\Florian
Zimmermann" scope="entry">

<association>60412C532AE8EC42C12573410041FF73</association>
<read-attr attr-name="pummelnotesfullname"/>
</query>
</input>
</nds>
...
...
[12/16/08 14:51:19.944]:OrgaDir PT: Remote Interface Driver:
Document sent.
[12/16/08 14:51:19.976]:OrgaDir :Remote Interface Driver: Received.
[12/16/08 14:51:19.976]:OrgaDir :
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product build="20070918_0802 " instance="OrgaDir"
version="3.5.1">Identity Manager Driver for Lotus Notes</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="Person" event-id="0"
src-dn="\AT\pummel\Florian Zimmermann">

<association>60412C532AE8EC42C12573410041FF73</association>
<attr attr-name="FullName">
<value type="string">CN=Florian
Zimmermann/O=pummel/C=AT</value>
<value type="string">CN=Zimmermann
Florian/O=pummel/C=AT</value>
<value type="string">Silberblick</value>
</attr>
</instance>
<status event-id="0" level="success"/>
</output>
</nds>
...
...
[12/16/08 14:51:19.991]:OrgaDir PT: Mapping class-name
'Person' to 'User'.
[12/16/08 14:51:19.991]:OrgaDir PT: Mapping attr-name
'FullName' to 'pummelNotesFullname'.
[12/16/08 14:51:19.991]:OrgaDir PT: Resolving association
references.
[12/16/08 14:51:19.991]:OrgaDir PT: Query from policy
result
[12/16/08 14:51:19.991]:OrgaDir PT:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product build="20070918_0802 " instance="OrgaDir"
version="3.5.1">Identity Manager Driver for Lotus Notes</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User" event-id="0"
src-dn="\AT\pummel\Florian Zimmermann">

<association>60412C532AE8EC42C12573410041FF73</association>
<attr attr-name="pummelNotesFullname">
<value type="string">CN=Florian
Zimmermann/O=pummel/C=AT</value>
<value type="string">CN=Zimmermann
Florian/O=pummel/C=AT</value>
<value type="string">Silberblick</value>
</attr>
</instance>
<status event-id="0" level="success"/>
</output>
</nds>
[12/16/08 14:51:19.991]:OrgaDir PT: Token Value: {<value>
@type = "string",<value> @type = "string",<value> @type = "string"}.
[12/16/08 14:51:19.991]:OrgaDir PT: Arg Value: {<value>
@type = "string",<value> @type = "string",<value> @type = "string"}.
[12/16/08 14:51:19.991]:OrgaDir PT: Action:
do-for-each(arg-node-set(token-local-variable("var_pummelnotesfullname"))).
[12/16/08 14:51:19.991]:OrgaDir PT:
arg-node-set(token-local-variable("var_pummelnotesfullname"))
[12/16/08 14:51:19.991]:OrgaDir PT:
token-local-variable("var_pummelnotesfullname")
[12/16/08 14:51:19.991]:OrgaDir PT: Token Value:
{<value> @type = "string",<value> @type = "string",<value> @type =
"string"}.
[12/16/08 14:51:19.991]:OrgaDir PT: Arg Value:
{<value> @type = "string",<value> @type = "string",<value> @type =
"string"}.
[12/16/08 14:51:19.991]:OrgaDir PT: Performing
actions for local-variable(current-node) = <value> @type = "string".
[12/16/08 14:51:19.991]:OrgaDir PT:
Action: do-status(level="warning",token-src-dn()).
[12/16/08 14:51:19.991]:OrgaDir PT:
arg-string(token-src-dn())
[12/16/08 14:51:19.991]:OrgaDir PT:
token-src-dn()
[12/16/08 14:51:19.991]:OrgaDir PT:
Token Value: "\AT\pummel\Florian Zimmermann".
[12/16/08 14:51:19.991]:OrgaDir PT:
Arg Value: "\AT\pummel\Florian Zimmermann".
[12/16/08 14:51:19.991]:OrgaDir PT:
DirXML Log Event -------------------
Driver:
\pummelTEST\pummel\ress\driverset2\OrgaDir
Channel: Publisher
Object: \AT\pummel\Florian Zimmermann
(pummel\m09916\r99c001)
Status: Warning
Message: \AT\pummel\Florian Zimmermann
[12/16/08 14:51:20.210]:OrgaDir PT:
Performing actions for local-variable(current-node) = <value> @type =
"string".
[12/16/08 14:51:20.210]:OrgaDir PT:
Action: do-status(level="warning",token-src-dn()).
[12/16/08 14:51:20.210]:OrgaDir PT:
arg-string(token-src-dn())
[12/16/08 14:51:20.210]:OrgaDir PT:
token-src-dn()
[12/16/08 14:51:20.210]:OrgaDir PT:
Token Value: "\AT\pummel\Florian Zimmermann".
[12/16/08 14:51:20.210]:OrgaDir PT:
Arg Value: "\AT\pummel\Florian Zimmermann".
[12/16/08 14:51:20.210]:OrgaDir PT:

DirXML Log Event -------------------
Driver:
\pummelTEST\pummel\ress\driverset2\OrgaDir
Channel: Publisher
Object: \AT\pummel\Florian Zimmermann
(pummel\m09916\r99c001)
Status: Warning
Message: \AT\pummel\Florian Zimmermann
[12/16/08 14:51:20.429]:OrgaDir PT:
Performing actions for local-variable(current-node) = <value> @type =
"string".
[12/16/08 14:51:20.429]:OrgaDir PT:
Action: do-status(level="warning",token-src-dn()).
[12/16/08 14:51:20.429]:OrgaDir PT:
arg-string(token-src-dn())
[12/16/08 14:51:20.429]:OrgaDir PT:
token-src-dn()
[12/16/08 14:51:20.429]:OrgaDir PT:
Token Value: "\AT\pummel\Florian Zimmermann".
[12/16/08 14:51:20.429]:OrgaDir PT:
Arg Value: "\AT\pummel\Florian Zimmermann".
[12/16/08 14:51:20.429]:OrgaDir PT:

DirXML Log Event -------------------
Driver:
\pummelTEST\pummel\ress\driverset2\OrgaDir
Channel: Publisher
Object: \AT\pummel\Florian Zimmermann
(pummel\m09916\r99c001)
Status: Warning
Message: \AT\pummel\Florian Zimmerman


--
florianz
------------------------------------------------------------------------
florianz's Profile: http://forums.novell.com/member.php?userid=210
View this thread: http://forums.novell.com/showthread.php?t=354437