[Samba] sambaPwdLastSet=0 vs sambaPwdMustChange=0

mourik jan c heupink heupink at merit.unu.edu
Thu Oct 9 10:51:09 GMT 2008


Hi all,

Something is unclear to me, maybe someone here can explain.

I want to users to get the "you are required to change your password" 
dialogue, when they logon for the first time.

According to the documentation setting sambaPwdMustChange=0 should work. 
However, on my setup, it does NOT work. The user can log on, but is NOT 
asked to change his or her password.
(docs: 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#id2586078)

Then I tried using "net sam set pwdmustchangenow USERNAME yes" (which is 
I guess the native samba way of archiving this) and it DOES work, but by 
setting: sambaPwdLastSet=0 !

So the question: are the samba docs wrong, or is my samba wrong?

I'm running samba 3.0.26a on suse linux enterprise server 9, sp3, maybe 
the docs are for more recent samba versions only?

Regards,
mj


More information about the samba mailing list