Hi, update on thread below, still can't get password expiry working
properly on first login.

Users are created in AD, some with password some without. I migrate
them into eDir and set the password using the rule below. when I log in
eDir accepts the password but does not expire it, so AD asks for a
password. I want eDir to expire the password so it syncs through on
change.

If I set the UP manually it syncs through fine.

I have publish to NDS set to true.

Thanks in advance

Dean



<description>set user default password</description>
<comment xml:space="preserve">Sets a default password for the user if
none exists. If you have enabled password sync, the default password
will be replaced on the next password change operation. If the driver
shim has cached a password from a recent add event in Active Directory,
it will be published shortly after this command completes. Otherwise,
the default password will remain in effect until the password is changed
in either the Identity Vault or Active Directory.</comment>
<conditions>
<and>
<if-class-name mode="nocase" op="equal">User</if-class-name>
<if-password disabled="true" op="not-available"/>
<if-op-attr name="Surname" op="available"/>
</and>
</conditions>
<actions>
<do-set-dest-password>
<arg-string>
<token-text xml:space="preserve">**password**</token-text>
</arg-string>
</do-set-dest-password>
</actions>
</rule>
<rule>
<description>Expire Password</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
</and>
</conditions>
<actions>
<do-set-dest-attr-value name="Password Expiration Time"
when="after">
<arg-dn>
<token-text xml:space="preserve">NIU\Users\</token-text>
<token-op-attr name="CN"/>
</arg-dn>
<arg-value type="time">
<token-time format="!CTIME" tz="UTC"/>
</arg-value>
</do-set-dest-attr-value>
</actions>
</rule>
<rule>


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