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,


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>
[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">
<product edition="Standard" version="">DirXML</product>
<contact>NetIQ Corporation</contact>
<status level="error">Code(-9010) An exception occurred: novell.jclient.JCException: initVlistIterator -613 ERR_SYNTAX_VIOLATION</status>