Hi

I have a fan-out driver and I want to delete user in target system when
attribute 'atrLinux' change to false, I try to put these rule in Event
policy :
<rule>
<description>Veto si atrLinux = false</description>
<conditions>
<or>
<if-class-name mode=\"nocase\" op=\"equal\">User</if-class-name>
</or>
<or>
<if-attr mode=\"nocase\" name=\"atrLinux1\"
op=\"equal\">false</if-attr>
</or>
</conditions>
<actions>
<do-delete-dest-object class-name=\"User\"/>
</actions>
</rule>

[01/25/10 13:40:12.088]:fanout ST: Evaluating selection criteria for
rule 'Eliminacion si atrLinux cambia a false'.
[01/25/10 13:40:12.088]:fanout ST: (if-class-name equal \"User\")
= TRUE.
[01/25/10 13:40:12.089]:fanout ST: (if-association associated) =
TRUE.
[01/25/10 13:40:12.090]:fanout ST: (if-op-attr 'atrLinux1'
changing-to \"false\") = TRUE.
[01/25/10 13:40:12.090]:fanout ST: Rule selected.
[01/25/10 13:40:12.090]:fanout ST: Applying rule 'Eliminacion si
atrLinux cambia a false'.
[01/25/10 13:40:12.091]:fanout ST: Action:
do-delete-dest-object(class-name=\"User\",arg-association(token-association())).
[01/25/10 13:40:12.091]:fanout ST:
arg-association(token-association())
[01/25/10 13:40:12.092]:fanout ST: token-association()
[01/25/10 13:40:12.092]:fanout ST: Token Value:
\"B6A62E79BE44C7482EA3B6A62E79BE44\".
[01/25/10 13:40:12.093]:fanout ST: Arg Value:
\"B6A62E79BE44C7482EA3B6A62E79BE44\".
[01/25/10 13:40:12.093]:fanout ST: Action: do-veto().
[01/25/10 13:40:12.094]:fanout ST:Policy returned:
[01/25/10 13:40:12.094]:fanout ST:
<nds dtdversion=\"3.5\" ndsversion=\"8.x\">
<source>
<product version=\"3.6.10.4747\">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<delete class-name=\"User\"
event-id=\"linux-d1cu#20100125124011#1#1\">
<association>B6A62E79BE44C7482EA3B6A62E79BE44</association>
</delete>
</input>
</nds>
[01/25/10 13:40:12.097]:fanout ST:Subscriber processing delete for .
[01/25/10 13:40:12.098]:fanout ST:Applying command transformation
policies.
[01/25/10 13:40:12.098]:fanout ST:Applying policy:
%+C%14CPassword(Sub)-Transform Distribution Password%-C.
[01/25/10 13:40:12.099]:fanout ST: Applying to delete #1.
[01/25/10 13:40:12.099]:fanout ST: Evaluating selection criteria for
rule 'Convert adds of the nspmDistributionPassword attribute to password
elements'.
[01/25/10 13:40:12.099]:fanout ST: (if-operation equal \"add\") =
FALSE.
[01/25/10 13:40:12.100]:fanout ST: Rule rejected.
[01/25/10 13:40:12.100]:fanout ST: Evaluating selection criteria for
rule 'Block modifies for failed password publish operations if reset
password is false'.
[01/25/10 13:40:12.101]:fanout ST: (if-global-variable
'reset-external-password-on-failure' equal \"false\") = TRUE.
[01/25/10 13:40:12.102]:fanout ST: (if-operation equal \"modify\")
= FALSE.
[01/25/10 13:40:12.102]:fanout ST: Rule rejected.
[01/25/10 13:40:12.102]:fanout ST: Evaluating selection criteria for
rule 'Convert modifies of a nspmDistributionPassword attribute to a
modify password operation'.
[01/25/10 13:40:12.103]:fanout ST: (if-operation equal \"modify\")
= FALSE.
[01/25/10 13:40:12.103]:fanout ST: Rule rejected.
[01/25/10 13:40:12.103]:fanout ST: Evaluating selection criteria for
rule 'Block empty modify operations'.
[01/25/10 13:40:12.104]:fanout ST: (if-operation equal \"modify\")
= FALSE.
[01/25/10 13:40:12.104]:fanout ST: Rule rejected.
[01/25/10 13:40:12.105]:fanout ST:Policy returned:
[01/25/10 13:40:12.105]:fanout ST:
<nds dtdversion=\"3.5\" ndsversion=\"8.x\">
<source>
<product version=\"3.6.10.4747\">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<delete class-name=\"User\"
event-id=\"linux-d1cu#20100125124011#1#1\">
<association>B6A62E79BE44C7482EA3B6A62E79BE44</association>
</delete>
</input>
</nds>



But appears this error :
DirXML Log Event -------------------
Driver: \ARBRE\system\services\drvset\fanout
Channel: Subscriber
Status: Error
Message: AXML0013E The event for object failed with error code .
The event has been discarded.

Any body knows how to implement the same logic ? Its possible call
atrLinux attribute from Reciver Scripts?
Thnks!


--
arturnebot
------------------------------------------------------------------------
arturnebot's Profile: http://forums.novell.com/member.php?userid=26694
View this thread: http://forums.novell.com/showthread.php?t=399442