[Samba] Endless Password Expiration in 3.0.25

Jean-Jacques Moulis jj at isy.liu.se
Sat May 19 10:06:48 GMT 2007


On Fri, 18 May 2007 15:25:53 -0700 Jeremy Allison <jra at samba.org> wrote:

JA> People who have reported this bug (Endless Password Expiration in
JA> 3.0.25, bugzilla id #4630) can you please let me know if you're
JA> working on 64-bit machines please ? I'm trying to track this
JA> down for 3.0.25a and am working on a theory....
JA> 
JA> Jeremy.

we had the problem on solaris 10 machines with 32-bit and 64-bit sambas.
but not all servers exhibited the problem.
(We still run 3.0.25 on one of them).

the problem is somehow related to the history of the server.
Recently installed servers with an history starting with 3.0.23 or 3.0.24
worked. servers with a long career suffered the problem.
(perhaps a 64-bit episode, but I doubt it).

Sun, 04 Dec 0468 is long gone as are the barbarians invasions

on a non working server pdbedit gives:

Logoff time: Sun, 04 Dec 0468 16:30:07 MET
Kickoff time: Sun, 04 Dec 0468 16:30:07 MET
Password last set: Tue, 15 May 2007 10:14:46 MEST
Password can change: Tue, 15 May 2007 10:14:46 MEST
Password must change: Sun, 04 Dec 0468 16:30:07 MET
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


A working server gives

Logoff time: Tue, 19 Jan 2038 04:14:07 MET
Kickoff time: Tue, 19 Jan 2038 04:14:07 MET
Password last set: Wed, 05 Nov 2003 13:43:24 MET
Password can change: Wed, 05 Nov 2003 13:43:24 MET
Password must change: Tue, 19 Jan 2038 04:14:07 MET
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

The Servers are identicals (situed at differents sites)
with the same smb.conf and smbpasswd file
but with differents history and tdb files


I don't know where the "Password must change" value
is stored or is calculated

the value shown by pdbedit is still wrong after regressing
to 3.0.24 (and was probably wrong before upgrading to 3.0.25)
but doesn't cause any troubles



-- 
Jean-Jacques   Moulis                              Tel:  (013) 281684
ISY                                                Fax:  (013) 139282
Linköping University                            E-mail: jj at isy.liu.se
581 83 Linköping


More information about the samba mailing list