In the i5osdrv bi-directional driver, the Password Expiration Interval is
mapped to CMPNYITV, while in the documentation this should be mapped to
PWDEXPITV, which in my opinion is correct.

But remapping this attribute to PWDEXPITV, the attribute value is to large
(seconds) for the iSeries (days). So we made an policy-rule to convert it
from seconds to days, but the remote loader on the iSeries seems the
result as a string where it suspects a number.

<?xml version="1.0" encoding="UTF-8"?><policy
xmlns:jdate="http://www.novell.com/nxsl/java/java.util.Date"
xmlns:jdateformat="http://www.novell.com/nxsl/java/java.text.SimpleDateFormat">
<rule>
<description>Transform PWDEXPITV - Password Expiration Interval</description>
<conditions>
<and>
<if-op-attr name="PWDEXPITV" op="available"/>
</and>
</conditions>
<actions>
<do-set-local-variable name="ExpireIntvl">
<arg-string>
<token-op-attr name="PWDEXPITV"/>
</arg-string>
</do-set-local-variable>
<do-reformat-op-attr name="PWDEXPITV">
<arg-value type="int">
<token-xpath expression="round(($ExpireIntvl) div 86400)"/>
</arg-value>
</do-reformat-op-attr>
</actions>
</rule>
</policy>