Hi,

Hopefully this is a quick query, I'm unable to find anything online to help me.

I'm trying to query the IDM vault for users using the IDV GUID value which is held in a workorder object,

do-set-local-variable("lvSearch",scope="policy",arg-node-set(token-query(class-name="user",datastore="src",arg-dn("resources\Active\Students"),arg-match-attr("GUID",token-local-variable("lvGUID")),token-attr("ModuleCode")))).


However when the workorder is processed the query fails with SYNTAX violation. I've used code like this before and had no issue with other attributes, so is this the format of the GUID (octet String) which is the issue? Example output from the level 3 trace is below.



<query class-name="user" dest-dn="resources\Active\Students" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="GUID">
<value type="octet">3284EA37775B8B4F3F923284EA37775B</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
[10/05/17 16:26:20.791]:Gen Loop ST: Pumping XDS to eDirectory.
[10/05/17 16:26:20.791]:Gen Loop ST: Performing operation query for swansea\resources\Active\Students.
[10/05/17 16:26:20.791]:Gen Loop ST: --JCLNT-- \TEST\services\Driver Set\Generic Loopback : Duplicating : context = 1902837886, tempContext = 1902837838
[10/05/17 16:26:20.792]:Gen Loop ST: --JCLNT-- \TEST\services\Driver Set\Generic Loopback : Calling free on tempContext = 1902837838
[10/05/17 16:26:20.798]:Gen Loop ST: Query from policy result
[10/05/17 16:26:20.798]:Gen Loop ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.5.0.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<status level="error">Code(-9010) An exception occurred: novell.jclient.JCException: initVlistIterator -613 ERR_SYNTAX_VIOLATION</status>
</output>
</nds>



Thanks