Hello,

We create a group in the identity vault (edir) with the userapp portal
and then we rename and move the group in the right container with the
Loopback driver.

This works fine, but if we create a group with the same name as an
existing group (in the destination container), the move does not
succeeded (this is normal).

I tried to catch the Status event and error level with a rule like:
If operation = status
If @level=error
If text()= Code(-9010) An exception occurred:
novell.jclient.JCException: moveEntry -606 ERR_ENTRY_ALREADY_EXISTS

but the status event is not in the data flow and is never read by the
rules, any idea ?


Here is the move event and the status event.

[09/25/13 11:15:54.502]:MYORGPeopleLpBack ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.2.2">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<rename class-name="Group"
dest-dn="\MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mongrp2"
dest-entry-id="69890"
event-id="mysrv-99-dev#20130925091554#2#1:c2903b95-1891-4ddd-7889-953b90c29118">
<new-name>mysrv-gg-mongrp2</new-name>
</rename>
</input>
</nds>
[09/25/13 11:15:54.503]:MYORGPeopleLpBack ST: Pumping XDS to
eDirectory.
[09/25/13 11:15:54.504]:MYORGPeopleLpBack ST: Performing operation
rename for \MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mongrp2.
[09/25/13 11:15:54.504]:MYORGPeopleLpBack ST: --JCLNT--
\MYORG-TREE-DEV\MYORG\system\services\MYORGDriverSet\MYORGPeop leLpBack :
Duplicating : context = 1959002245, tempContext = 1959002226
[09/25/13 11:15:54.504]:MYORGPeopleLpBack ST: Renaming entry
\MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mongrp2 to
mysrv-gg-mongrp2.
[09/25/13 11:15:54.508]:MYORGPeopleLpBack ST: --JCLNT--
\MYORG-TREE-DEV\MYORG\system\services\MYORGDriverSet\MYORGPeop leLpBack :
Calling free on tempContext = 1959002226
[09/25/13 11:15:54.509]:MYORGPeopleLpBack ST: Processing returned
document.
[09/25/13 11:15:54.509]:MYORGPeopleLpBack ST: Processing operation
<status> for .
[09/25/13 11:15:54.509]:MYORGPeopleLpBack ST:
DirXML Log Event -------------------
Driver:
\MYORG-TREE-DEV\MYORG\system\services\MYORGDriverSet\MYORGPeop leLpBack
Channel: Subscriber
Object:
\MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mongrp2
Status: Success
[09/25/13 11:15:54.510]:MYORGPeopleLpBack ST: Direct command from
policy result
[09/25/13 11:15:54.510]:MYORGPeopleLpBack ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.2.2">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status
event-id="mysrv-99-dev#20130925091554#2#1:c2903b95-1891-4ddd-7889-953b90c29118"
level="success"><application>DirXML</application>
<module>MYORGPeopleLpBack</module>

<object-dn>\MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mongrp2</object-dn>
<component>Subscriber</component>
</status>
</output>
</nds>
[09/25/13 11:15:54.511]:MYORGPeopleLpBack ST: Direct command from
policy
[09/25/13 11:15:54.511]:MYORGPeopleLpBack ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.2.2">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<move dest-dn="MYORG\ecoles\dsi\creation-groupes\mysrv-gg-mongrp2"
event-id="mysrv-99-dev#20130925091554#2#1:c2903b95-1891-4ddd-7889-953b90c29118">
<parent
dest-dn="\MYORG-TREE-DEV\MYORG\ecoles\org\groupes-ecole"/>
</move>
</input>
</nds>
[09/25/13 11:15:54.511]:MYORGPeopleLpBack ST: Pumping XDS to
eDirectory.
[09/25/13 11:15:54.511]:MYORGPeopleLpBack ST: Performing operation move
for MYORG\ecoles\dsi\creation-groupes\mysrv-gg-mongrp2.
[09/25/13 11:15:54.512]:MYORGPeopleLpBack ST: --JCLNT--
\MYORG-TREE-DEV\MYORG\system\services\MYORGDriverSet\MYORGPeop leLpBack :
Duplicating : context = 1959002245, tempContext = 1959002226
[09/25/13 11:15:54.518]:MYORGPeopleLpBack ST: Moving entry
\MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mysrv-gg-mongrp2 to
\MYORG-TREE-DEV\MYORG\ecoles\org\groupes-ecole.
[09/25/13 11:15:54.518]:MYORGPeopleLpBack ST: --JCLNT--
\MYORG-TREE-DEV\MYORG\system\services\MYORGDriverSet\MYORGPeop leLpBack :
Calling free on tempContext = 1959002226
[09/25/13 11:15:54.519]:MYORGPeopleLpBack ST: Processing returned
document.
[09/25/13 11:15:54.519]:MYORGPeopleLpBack ST: Processing operation
<status> for .
[09/25/13 11:15:54.519]:MYORGPeopleLpBack ST:
DirXML Log Event -------------------
Driver:
\MYORG-TREE-DEV\MYORG\system\services\MYORGDriverSet\MYORGPeop leLpBack
Channel: Subscriber
Object:
\MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mongrp2
Status: Error
Message: Code(-9010) An exception occurred:
novell.jclient.JCException: moveEntry -606 ERR_ENTRY_ALREADY_EXISTS
[09/25/13 11:15:54.520]:MYORGPeopleLpBack ST: Direct command from
policy result
[09/25/13 11:15:54.520]:MYORGPeopleLpBack ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.2.2">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status
event-id="mysrv-99-dev#20130925091554#2#1:c2903b95-1891-4ddd-7889-953b90c29118"
level="error">Code(-9010) An exception occurred:
novell.jclient.JCException: moveEntry -606
ERR_ENTRY_ALREADY_EXISTS<application>DirXML</application>
<module>MYORGPeopleLpBack</module>

<object-dn>\MYORG-TREE-DEV\MYORG\ecoles\dsi\creation-groupes\mongrp2</object-dn>
<component>Subscriber</component>
</status>
</output>
</nds>
[09/25/13 11:15:54.521]:MYORGPeopleLpBack ST:Policy returned:
[09/25/13 11:15:54.521]:MYORGPeopleLpBack ST:
<nds dtdversion="4.0" ndsversion="8.x">

Thanks a lot for your help.

Sylvain


--
sma
------------------------------------------------------------------------
sma's Profile: https://forums.netiq.com/member.php?userid=174
View this thread: https://forums.netiq.com/showthread.php?t=48781