I posted a week or so ago asking for a way to get an AD dn into an eDir
attribute and the good Father gave me a command to use -
(token-xpath("query:readObject($destQueryProcessor,$UserA sn,",'User',")/@src-dn")).
However I'm having trouble getting it to work and I'm assuming it's the
way I'm implementing it. It is in the output transform of the sub
channel.

The transaction bombs out with the error below, the association looks
to be correct.

Thanks

Rule selected.
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Applying rule
'Find Association of User'.
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Action:
do-set-local-variable("UserAsn",scope="policy",token-association()).
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
arg-string(token-association())
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
token-association()
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Token
Value: "8b633c916ffddd49af540265758ace75".
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Arg Value:
"8b633c916ffddd49af540265758ace75".
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Action:
do-trace-message("User Association
="+token-local-variable("UserAsn")).
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
arg-string("User Association ="+token-local-variable("UserAsn"))
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
token-text("User Association =")
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
token-local-variable("UserAsn")
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Token
Value: "8b633c916ffddd49af540265758ace75".
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Arg Value:
"User Association =8b633c916ffddd49af540265758ace75".
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:User Association
=8b633c916ffddd49af540265758ace75
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Evaluating
selection criteria for rule 'Get Associated dn'.
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
(if-local-variable 'UserAsn' available) = TRUE.
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Rule selected.
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Applying rule
'Get Associated dn'.
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST: Action:
do-set-local-variable("AssocDn",token-xpath("query:readObject($destQueryProcessor,$UserA sn,",'User',")/@src-dn")).
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
arg-string(token-xpath("query:readObject($destQueryProcessor,$UserA sn,",'User',")/@src-dn"))
[24/06/2008 14:42:41.64] Drvrs : NOS-AD-DIIRD ST:
token-xpath("query:readObject($destQueryProcessor,$UserA sn,",'User',")/@src-dn")
[24/06/2008 14:42:41.76] Drvrs : NOS-AD-DIIRD ST:
DirXML Log Event -------------------
Driver: \DEPTMETAF-DEV\Admin\IDM\IDM Driver Set\NOS-AD-DIIRD
Channel: Subscriber
Object:
\DEPTMETAF-DEV\Communities\Workforce\Active\DIIRD\NichollD
Status: Error
Message: Code(-9024) Unable to read current state of
8b633c916ffddd49af540265758ace75.
[24/06/2008 14:42:41.98] Drvrs : NOS-AD-DIIRD ST:End transaction


--
ddnicholls
------------------------------------------------------------------------
ddnicholls's Profile: http://forums.novell.com/member.php?userid=4926
View this thread: http://forums.novell.com/showthread.php?t=333986