Hi

I am trying the same thing

But Login Disabled is returning a Token not Text and Failing on the
True Test
As you can see, the Token value for Login Disabled, but the check for
if Login Disabled case Insensitive = True is failing

Any Ideas ??

Any assistance would be apreciated!!!


Regards

Mark Casey
Pegasus Technology Pty Ltd
www.pegasustech.com.au




[06/18/07 13:54:51.237]: INTRANET ST: Applying policy: %+C%14CInitials
to Status%-C.
[06/18/07 13:54:51.237]: INTRANET ST: Applying to modify #1.
[06/18/07 13:54:51.237]: INTRANET ST: Evaluating selection
criteria for rule 'Initials = XXX'.
[06/18/07 13:54:51.237]: INTRANET ST: (if-op-attr 'Initials'
equal "XXX") = FALSE.
[06/18/07 13:54:51.238]: INTRANET ST: Rule rejected.
[06/18/07 13:54:51.238]: INTRANET ST: Evaluating selection
criteria for rule 'Initials XXX Remove'.
[06/18/07 13:54:51.238]: INTRANET ST: (if-op-attr 'INITIALS'
changing-from "XXX") = TRUE.
[06/18/07 13:54:51.238]: INTRANET ST: (if-op-attr 'Login
Disabled' not-equal "true") = TRUE.
[06/18/07 13:54:51.238]: INTRANET ST: Rule selected.
[06/18/07 13:54:51.238]: INTRANET ST: Applying rule 'Initials XXX
Remove'.
[06/18/07 13:54:51.238]: INTRANET ST: Action:
do-add-dest-attr-value("STATUS","0").
[06/18/07 13:54:51.238]: INTRANET ST: arg-string("0")
[06/18/07 13:54:51.238]: INTRANET ST: token-text("0")
[06/18/07 13:54:51.239]: INTRANET ST: Arg Value: "0".
[06/18/07 13:54:51.239]: INTRANET ST: Action:
do-set-local-variable("LoginD",token-src-attr("Login Disabled")).
[06/18/07 13:54:51.239]: INTRANET ST:
arg-string(token-src-attr("Login Disabled"))
[06/18/07 13:54:51.239]: INTRANET ST: token-src-attr("Login
Disabled")
[06/18/07 13:54:51.239]: INTRANET ST: Query from policy
[06/18/07 13:54:51.239]: INTRANET ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product version="2.0.5.51 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="User"
dest-dn="\DBGLAW_AUSTRALIA\DBGLAW\SYDNEY_OFFICE\USERS\V Carmalt"
dest-entry-id="33192" scope="entry">
<read-attr attr-name="Login Disabled"/>
</query>
</input>
</nds>
[06/18/07 13:54:51.240]: INTRANET ST: Pumping XDS to
eDirectory.
[06/18/07 13:54:51.240]: INTRANET ST: Performing operation
query for \DBGLAW_AUSTRALIA\DBGLAW\SYDNEY_OFFICE\USERS\VCarm alt.
[06/18/07 13:54:51.244]: INTRANET ST: Query from policy
result
[06/18/07 13:54:51.244]: INTRANET ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product version="2.0.5.51 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User"
qualified-src-dn="O=DBGLAW\OU=SYDNEY_OFFICE\OU=USERS\CN=VCarmalt "
src-dn="\DBGLAW_AUSTRALIA\DBGLAW\SYDNEY_OFFICE\USERS\V Carmalt"
src-entry-id="33192">
<association
state="associated">GUID=gFPZgnJj1RGqaQCgydYA2A\=\= ,table=USR,schema=INDIRECT</association>
<attr attr-name="Login Disabled">
<value timestamp="1182136366#2" type="state">true</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>
[06/18/07 13:54:51.245]: INTRANET ST: Token Value: "true".
[06/18/07 13:54:51.245]: INTRANET ST: Arg Value: "true".
[06/18/07 13:54:51.245]: INTRANET ST: Policy returned:
[06/18/07 13:54:51.245]: INTRANET ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product version="2.0.5.51 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User"
event-id="DBGLAW-SYDNEY-6#20070618035412#4#2"
qualified-src-dn="O=DBGLAW\OU=SYDNEY_OFFICE\OU=USERS\CN=VCarmalt "
src-dn="\DBGLAW_AUSTRALIA\DBGLAW\SYDNEY_OFFICE\USERS\V Carmalt"
src-entry-id="33192" timestamp="1182138886#2">
<association
state="associated">GUID=gFPZgnJj1RGqaQCgydYA2A\=\= ,table=USR,schema=INDIRECT</association>
<modify-attr attr-name="Initials">
<remove-value>
<value timestamp="1182138852#2" type="string">XXX</value>
</remove-value>
<add-value>
<value timestamp="1182138886#2" type="string">AAAA</value>
</add-value>
</modify-attr>
<modify-attr attr-name="STATUS">
<add-value>
<value type="string">0</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[06/18/07 13:54:51.246]: INTRANET ST: Applying XSLT policy.
[06/18/07 13:54:51.255]: INTRANET ST: Policy returned:
[06/18/07 13:54:51.256]: INTRANET ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product version="2.0.5.51 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User"
event-id="DBGLAW-SYDNEY-6#20070618035412#4#2"
qualified-src-dn="O=DBGLAW\OU=SYDNEY_OFFICE\OU=USERS\CN=VCarmalt "
src-dn="\DBGLAW_AUSTRALIA\DBGLAW\SYDNEY_OFFICE\USERS\V Carmalt"
src-entry-id="33192" timestamp="1182138886#2">
<association
state="associated">GUID=gFPZgnJj1RGqaQCgydYA2A\=\= ,table=USR,schema=INDIRECT</association>
<modify-attr attr-name="Initials">
<remove-value>
<value timestamp="1182138852#2" type="string">XXX</value>
</remove-value>
<add-value>
<value timestamp="1182138886#2" type="string">AAAA</value>
</add-value>
</modify-attr>
<modify-attr attr-name="STATUS">
<add-value>
<value type="string">0</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[06/18/07 13:54:51.256]: INTRANET ST: Applying XSLT policy.
[06/18/07 13:54:51.262]: INTRANET ST: Policy returned:
[06/18/07 13:54:51.263]: INTRANET ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product version="2.0.5.51 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User"
event-id="DBGLAW-SYDNEY-6#20070618035412#4#2"
qualified-src-dn="O=DBGLAW\OU=SYDNEY_OFFICE\OU=USERS\CN=VCarmalt "
src-dn="\DBGLAW_AUSTRALIA\DBGLAW\SYDNEY_OFFICE\USERS\V Carmalt"
src-entry-id="33192" timestamp="1182138886#2">
<association
state="associated">GUID=gFPZgnJj1RGqaQCgydYA2A\=\= ,table=USR,schema=INDIRECT</association>
<modify-attr attr-name="Initials">
<remove-value>
<value timestamp="1182138852#2" type="string">XXX</value>
</remove-value>
<add-value>
<value timestamp="1182138886#2" type="string">AAAA</value>
</add-value>
</modify-attr>
<modify-attr attr-name="STATUS">
<add-value>
<value type="string">0</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>





On Tue, 16 Jan 2007 15:48:50 GMT, "Perin Blanchard, DevNet SysOp 43"
<devforums@novell.com> wrote:

>Try "true" rather than "True", or select the case-insensitive comparison
>mode.