Stefano
Thu Mar 06 15:06:04 CST 2008
Hi Richard ,
I need to set the password expiration to test the "password expiration
notification" in OWA
thanks
"Richard Mueller [MVP]" wrote:
> Stefano wrote:
>
> > I was looking for a way to set a password expiration to a specific date
> > using the user's "pwdlastset" attribute.
> > The problem is that it seems impossible to set the attribute to a value
> > other than 0 ( which set the user to change the password at next logon ) .
> >
> > Does anyone know how to solve it ?
>
> I don't believe you can assign a specific password expiration date. The best
> I am aware of is to run a script at the desired date and time that expires
> the password by assigning the value 0 to the pwdLastSet attribute.
>
> --
> Richard Mueller
> Microsoft MVP Scripting and ADSI
> Hilltop Lab -
http://www.rlmueller.net
> --
>
>
>