[Samba] Hows samba calculating sambaPwdMustChange?

Beast indorama at rad.net.id
Thu Jan 8 11:50:25 GMT 2004


On Thu, 8 Jan 2004 10:50:29 +0200 
Rauno Tuul <rauno.tuul at haigekassa.ee> wrote:

> Hi,
> 
> In latest samba 3 there is a policy setting option:
> 
> $ pdbedit -P "maximum password age" -C 7776000
> 
> When user changes password, then new sambaPwdMustChange will be calculated
> based on policy. My policy is 90 days. works just fine.
> 2147483647 is just a value in far future (year 2030 or something), meaning
> that user doesn't have to change his password.
> 

Big thanks. It work like a charm :-)
I believe value is stored on secret.tdb, not in directory, am I correct?


> 
> Another way is to set value in smbldap-tools (latest version needed
> (included in samba 3.0.1 package).

These was not an options since when changing through workstation, these tools are not invoke by samba. or if it is modified by these tools, samba will overwrite it.


--beast



More information about the samba mailing list