The Samba-Bugzilla – Bug 2283
time max_int overflow with timezone
Last modified: 2005-01-27 09:58:45 UTC
After smbpasswd, i have :
This is MAX_INT.
If i use pdbedit, it shows:
# pbdedit -v username
Password last set: Thu, 27 Jan 2005 17:42:30 GMT
Password can change: Thu, 27 Jan 2005 17:42:30 GMT
Password must change: Fri, 13 Dec 1901 21:45:51 GMT
Thu Jan 27 17:43:32 CET 2005
# date -u
Thu Jan 27 16:43:33 UTC 2005
As you can see, is displayed as being somewhere in 1901. This is exactly
MAX_INT + 3600.
You can also notice it shows last change as being same as localtime, with GMT,
though it is not yet that specified GMT time.
Setting a field to MAX_INT should at least keep it to MAX_INT whatever the