On Fri, 2005-12-16 at 17:20 +0100, Emanuele wrote:> Hello,
> you can write this:
> 
> pdbedit --pwd-must-change-time=1134732000 'username'
> 
> 
> P.S.:   1134732000 is the time (sec) starting at 01/01/1970, in this
> case, the user 'username' must change his password after the
> 16/12/2005 12:20.
Do you know you can use a readable time format too ?
pdbedit --time-format="%Y/%m/%d"
--pwd-must-change-time="2005/12/18" "username"
Simo.
-- 
Simo Sorce    -  idra@samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it