Hi..

I'm doing a query of an effective class object in edirectory to set a local
variable. You'll see in the trace below that the query brings back the
correct result (a three letter code) but then the "argument value" somehow
includes the association value prepended to it.

Am I missing something or is this a bug? I fear I'm going to hear something
about node-set variables. :-( Fr... a little help?

R.

[10/24/07 18:19:20.194]:### ST: Applying rule 'User: MSID Changing 2:
Set Location based on MSID'.
[10/24/07 18:19:20.194]:### ST: Action:
do-set-local-variable("TLA",scope="policy",token-query(class-name="ccpsSchool",scope="subordinates",arg-dn("data\res\sch"),arg-match-attr("ccpsMSID",token-op-attr("ccpsLocationCode")),"CN")).
[10/24/07 18:19:20.195]:### ST:
arg-string(token-query(class-name="ccpsSchool",scope="subordinates",arg-dn("data\res\sch"),arg-match-attr("ccpsMSID",token-op-attr("ccpsLocationCode")),"CN"))
[10/24/07 18:19:20.196]:### ST:
token-query(class-name="ccpsSchool",scope="subordinates",arg-dn("data\res\sch"),arg-match-attr("ccpsMSID",token-op-attr("ccpsLocationCode")),"CN")
[10/24/07 18:19:20.196]:### ST: arg-dn("data\res\sch")
[10/24/07 18:19:20.197]:### ST: token-text("data\res\sch")
[10/24/07 18:19:20.197]:### ST: Arg Value: "data\res\sch".
[10/24/07 18:19:20.197]:### ST:
arg-match-attr("ccpsMSID",token-op-attr("ccpsLocationCode"))
[10/24/07 18:19:20.198]:### ST:
arg-string(token-op-attr("ccpsLocationCode"))
[10/24/07 18:19:20.198]:### ST:
token-op-attr("ccpsLocationCode")
[10/24/07 18:19:20.198]:### ST: Token Value: "0401".
[10/24/07 18:19:20.199]:### ST: Arg Value: "0401".
[10/24/07 18:19:20.199]:### ST: arg-string("CN")
[10/24/07 18:19:20.199]:### ST: token-text("CN")
[10/24/07 18:19:20.199]:### ST: Arg Value: "CN".
[10/24/07 18:19:20.200]:### ST: Query from policy
[10/24/07 18:19:20.200]:### ST:
<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="ccpsSchool" dest-dn="data\res\sch"
scope="subordinates">
<search-class class-name="ccpsSchool"/>
<search-attr attr-name="ccpsMSID">
<value type="string">0401</value>
</search-attr>
<read-attr attr-name="CN"/>
</query>
</input>
</nds>
[10/24/07 18:19:20.202]:### ST: Pumping XDS to eDirectory.
[10/24/07 18:19:20.202]:### ST: Performing operation query for
data\res\sch.
[10/24/07 18:19:20.206]:### ST: Query from policy result
[10/24/07 18:19:20.207]:### ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="ccpsSchool"
qualified-src-dn="O=data\OU=res\OU=sch\CN=OMS"
src-dn="\DEV-CCPSIDV\data\res\sch\OMS" src-entry-id="39878">
<association
state="associated">IDS=36,table=SCHOOL,schema=INDI RECT</association>
<attr attr-name="CN">
<value naming="true" timestamp="1192714510#12"
type="string">OMS</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>
[10/24/07 18:19:20.209]:### ST: Token Value:
"IDS=36,table=SCHOOL,schema=INDIRECTOMS".
[10/24/07 18:19:20.210]:### ST: Arg Value:
"IDS=36,table=SCHOOL,schema=INDIRECTOMS".