Hi,

I have a policy that remove the association and move the user to
different container on the rename operation. It is working on single
eDir server environment, but it is not working on the environment with
mulitple replica. The error message I got is:

Code(-9010) An exception occurred: novell.jclient.JCException: resolve
-601 ERR_NO_SUCH_ENTRY

Please advise what I need to do to fix this issue. Below is the trace
information. Thank you in advance for your help.

<nds dtdversion="2.2">
<source>
<product version="3.0.0.20051118 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<rename class-name="User" dest-dn="com\wm\meta\users\asmith21"
dest-entry-id="137905" event-id="ADDriverDR##1246d3798ae##0"
src-dn="CN=10172009_asmith21,OU=Disabled Users,DC=wm,DC=com">
<association>5675cab1b259be4f9e8ae5e8287b0ab8</association>
<new-name>10172009_asmith21</new-name>
</rename>
</input>
</nds>
Applying policy: %+C%14CRemove Association and Move Terminated
User%-C.
Applying to rename #1.
Evaluating selection criteria for rule 'Get SRC-DN and DEST-DN'.
(if-class-name equal "User") = TRUE.
(if-operation equal "rename") = TRUE.
Rule selected.
Applying rule 'Get SRC-DN and DEST-DN'.
Action:
do-set-local-variable("SRC_DN",token-parse-dn(length="1",start="-1",token-xpath("@src-dn"))).

arg-string(token-parse-dn(length="1",start="-1",token-xpath("@src-dn")))

token-parse-dn(length="1",start="-1",token-xpath("@src-dn"))

token-parse-dn(length="1",start="-1",token-xpath("@src-dn"))
token-xpath("@src-dn")
Token Value: "CN=10172009_asmith21,OU=Disabled
Users,DC=wm,DC=com".
Arg Value: "CN=10172009_asmith21,OU=Disabled
Users,DC=wm,DC=com".
Token Value: "10172009_asmith21".
Arg Value: "10172009_asmith21".
Action: do-trace-message("SRC_DN =
"+token-local-variable("SRC_DN")).
arg-string("SRC_DN = "+token-local-variable("SRC_DN"))
token-text("SRC_DN = ")
token-local-variable("SRC_DN")
Token Value: "10172009_asmith21".
Arg Value: "SRC_DN = 10172009_asmith21".
SRC_DN = 10172009_asmith21
Action:
do-set-local-variable("DEST_DN",token-parse-dn(length="1",src-dn-format="slash",start="-1",token-xpath("@dest-dn"))).

arg-string(token-parse-dn(length="1",src-dn-format="slash",start="-1",token-xpath("@dest-dn")))

token-parse-dn(length="1",src-dn-format="slash",start="-1",token-xpath("@dest-dn"))

token-parse-dn(length="1",src-dn-format="slash",start="-1",token-xpath("@dest-dn"))
token-xpath("@dest-dn")
Token Value: "com\wm\meta\users\asmith21".
Arg Value: "com\wm\meta\users\asmith21".
Token Value: "asmith21".
Arg Value: "asmith21".
Action: do-trace-message("DEST_DN =
"+token-local-variable("DEST_DN")).
arg-string("DEST_DN = "+token-local-variable("DEST_DN"))
token-text("DEST_DN = ")
token-local-variable("DEST_DN")
Token Value: "asmith21".
Arg Value: "DEST_DN = asmith21".
DEST_DN = asmith21
Evaluating selection criteria for rule 'Remove Association And
Move Terminated User'.
(if-class-name equal "User") = TRUE.
(if-operation equal "rename") = TRUE.
(if-local-variable 'SRC_DN' match "\d{8}[_].*") = TRUE.
Rule selected.
Applying rule 'Remove Association And Move Terminated User'.
Action: do-trace-message(token-local-variable("SRC_DN")+" IS A
TERMINATED USER").
arg-string(token-local-variable("SRC_DN")+" IS A TERMINATED
USER")
token-local-variable("SRC_DN")
Token Value: "10172009_asmith21".
token-text(" IS A TERMINATED USER")
Arg Value: "10172009_asmith21 IS A TERMINATED USER".
10172009_asmith21 IS A TERMINATED USER
Action:
do-remove-association(arg-association(token-association())).
arg-association(token-association())
token-association()
Token Value: "5675cab1b259be4f9e8ae5e8287b0ab8".
Arg Value: "5675cab1b259be4f9e8ae5e8287b0ab8".
Action:
do-move-dest-object(arg-dn("com\wm\meta\DisabledUser")).
arg-dn("com\wm\meta\DisabledUser")
token-text("com\wm\meta\DisabledUser")
Arg Value: "com\wm\meta\DisabledUser".
Policy returned:

<nds dtdversion="2.2">
<source>
<product version="3.0.0.20051118 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<rename class-name="User" dest-dn="com\wm\meta\users\asmith21"
dest-entry-id="137905" event-id="ADDriverDR##1246d3798ae##0"
src-dn="CN=10172009_asmith21,OU=Disabled Users,DC=wm,DC=com">
<association>5675cab1b259be4f9e8ae5e8287b0ab8</association>
<new-name>10172009_asmith21</new-name>
</rename>
<remove-association
event-id="ADDriverDR##1246d3798ae##0">5675cab1b259be4f9e 8ae5e8287b0ab8</remove-association>
<move class-name="User" dest-dn="com\wm\meta\users\asmith21"
dest-entry-id="137905" event-id="ADDriverDR##1246d3798ae##0"
src-dn="CN=10172009_asmith21,OU=Disabled Users,DC=wm,DC=com">
<association>5675cab1b259be4f9e8ae5e8287b0ab8</association>
<parent dest-dn="com\wm\meta\DisabledUser"/>
</move>
</input>
</nds>


ADDriverDR PT: Filtering out notification-only attributes.
ADDriverDR PT: Pumping XDS to eDirectory.
ADDriverDR PT: Performing operation rename for
com\wm\meta\users\asmith21.
ADDriverDR PT: Renaming entry com\wm\meta\users\asmith21 to
10172009_asmith21.
ADDriverDR PT: Performing operation remove-association for .
ADDriverDR PT: Performing operation move for
com\wm\meta\users\asmith21.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
ADDriverDR PT: Waiting to move entry
\EDIRMETA\com\wm\meta\users\asmith21 until local changes are synced to
master replica.
DirXML Log Event -------------------
Driver: \EDIRMETA\com\wm\meta\DIRXML\driverset258a\ADDrive rDR
Channel: Publisher
Object: CN=10172009_asmith21,OU=Disabled Users,DC=wm,DC=com
(com\wm\meta\users\asmith21)
Status: Success
[10/19/09 09:34:24.126]: ADDriverDR PT:
DirXML Log Event -------------------
Driver: \EDIRMETA\com\wm\meta\DIRXML\driverset258a\ADDrive rDR
Channel: Publisher
Object: CN=10172009_asmith21,OU=Disabled Users,DC=wm,DC=com
(com\wm\meta\users\asmith21)
Status: Success
[10/19/09 09:34:24.145]: ADDriverDR PT:
DirXML Log Event -------------------
Driver: \EDIRMETA\com\wm\meta\DIRXML\driverset258a\ADDrive rDR
Channel: Publisher
Object: CN=10172009_asmith21,OU=Disabled Users,DC=wm,DC=com
(com\wm\meta\users\asmith21)
Status: Error
Message: Code(-9010) An exception occurred:
novell.jclient.JCException: resolve -601 ERR_NO_SUCH_ENTRY


--
tdlnetid
------------------------------------------------------------------------
tdlnetid's Profile: http://forums.novell.com/member.php?userid=63817
View this thread: http://forums.novell.com/showthread.php?t=389916