Hi,

After having issues with Loopback Driver not seing Moves (getting SYNC
events instead) I found a post that explained how it doesn't make sense
to send a Move Event on an unassociated object (what would you Move of
course).

So that same post also recommended to set an association with the
Loopback driver with this:

<rule>
<description>Match to self</description>
<conditions/>
<actions>
<do-set-op-association>
<arg-association>
<token-src-attr name="GUID"/>
</arg-association>
</do-set-op-association>
<do-add-association>
<arg-association>
<token-xpath expression="association/text()"/>
</arg-association>
</do-add-association>
</actions>
</rule>

and the lopbackdriver will behave a lot like any other "ordinary"
driver. Don't forget to add a rule like this as last subscriber command
transform, too:

<rule>
<description>Veto all</description>
<conditions/>
<actions>
<do-veto/>
</actions>
</rule>

This works and association gets set BUT, after successfull porcess I
get the -9063 error:

[05/18/10 14:00:01.528]:IDV_LOOPBACK ST: Direct command from policy
[05/18/10 14:00:01.528]:IDV_LOOPBACK ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.0.4294">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add-association dest-dn="\IDVAULT\ORG\USERS\JSMITH"
event-id="idvproc#20100518180001#1#2">ry39Uk7AsE01tK8t/VJOwA==</add-association>
</input>
</nds>
[05/18/10 14:00:01.528]:IDV_LOOPBACK ST: Pumping XDS to eDirectory.
[05/18/10 14:00:01.528]:IDV_LOOPBACK ST: Performing operation
add-association for \IDVAULT\ORG\USERS\JSMITH.
[05/18/10 14:00:01.536]:IDV_LOOPBACK ST: Processing returned
document.
[05/18/10 14:00:01.536]:IDV_LOOPBACK ST: Processing operation <status>
for .
[05/18/10 14:00:01.536]:IDV_LOOPBACK ST:
DirXML Log Event -------------------
Driver: \IDVAULT\ORG\SERVICES\IDM\SYSTEM_DRIVERSET\IDV Loopback
Channel: Subscriber
Object: \IDVAULT\ORG\USERS\JSMITH
Status: Success
[05/18/10 14:00:01.536]:IDV_LOOPBACK ST: Direct command from policy
result
[05/18/10 14:00:01.537]:IDV_LOOPBACK ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.0.4294">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status event-id="idvproc#20100518180001#1#2"
level="success"><application>DirXML</application>
<module>IDV Loopback</module>
<object-dn>\IDVAULT\ORG\USERS\JSMITH</object-dn>
<component>Subscriber</component>
</status>
</output>
</nds>
[05/18/10 14:00:01.537]:IDV_LOOPBACK ST:Policy returned:
[05/18/10 14:00:01.537]:IDV_LOOPBACK ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.0.4294">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add cached-time="20100518180001.024Z" class-name="User"
event-id="idvproc#20100518180001#1#2"
qualified-src-dn="O=ORG\OU=USERS\OU=CN=JSMITH"
src-dn="\IDVAULT\ORG\USERS\JSMITH" src-entry-id="37050"
timestamp="1274205601#1">
<association>ry39Uk7AsE01tK8t/VJOwA==</association>
<add-attr attr-name="GUID">
<value timestamp="1274205596#24"
type="octet">ry39Uk7AsE01tK8t/VJOwA==</value>
</add-attr>
<add-attr attr-name="Given Name">
<value timestamp="1274205596#4" type="string">SMTIH</value>
</add-attr>
<add-attr attr-name="Full Name">
<value timestamp="1274205596#6" type="string">John
SMITH</value>
</add-attr>
<add-attr attr-name="Surname">
<value timestamp="1274205596#3" type="string">John</value>
</add-attr>
<add-attr attr-name="CN">
<value timestamp="1274205596#23" type="string">JSMITH</value>
</add-attr>
</add>
</input>
</nds>
[05/18/10 14:00:01.541]:IDV_LOOPBACK ST:Processing returned document.
[05/18/10 14:00:01.541]:IDV_LOOPBACK ST:Processing operation <status>
for .
[05/18/10 14:00:01.541]:IDV_LOOPBACK ST:
DirXML Log Event -------------------
Driver: \IDVAULT\ORG\SERVICES\IDM\SYSTEM_DRIVERSET\IDV Loopback
Channel: Subscriber
Object: \IDVAULT\ORG\USERS\JSMITH
Status: Error
Message: Code(-9063) Object matching policy found an object that
is already associated: {0}.
[05/18/10 14:00:01.555]:IDV_LOOPBACK ST:End transaction.

What am I missing here ??

Please help.


--
pplante
------------------------------------------------------------------------
pplante's Profile: http://forums.novell.com/member.php?userid=69407
View this thread: http://forums.novell.com/showthread.php?t=410861