Hi

I have done this earlier but cant seem to get it work this time.

I m setting user passwd with set destination password. Now I want to set
pwdLastSet as 0 for the new user i m creating so that the user if forced
to change the password on first login.

i put the policy
<rule>
<conditions>
<and>
<if-operation op="equal">add</if-operation>
</and>
</conditions>
<actions>
<do-set-dest-attr-value name="pwdLastSet">
<arg-value type="string">
<token-text xml:space="preserve">0</token-text>
</arg-value>
</do-set-dest-attr-value>
</actions>
</rule>


in the Creation and then in Command Transformation of the Subscriber but
it does seem to set the attribute.

I can see the
<add-attr attr-name="pwdLastSet">
<value type="string">0</value>
</add-attr>

in the trace file but no luck

Any pointers what am i doing wrong ?