Bug 2283 - time max_int overflow with timezone
time max_int overflow with timezone
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
3.0.10
x86 Linux
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-27 09:58 UTC by adrien urban
Modified: 2005-01-27 09:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adrien urban 2005-01-27 09:58:45 UTC
Version 3.0.10-Debian

After smbpasswd, i have :
sambaPwdMustChange: 2147483647

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
[...]
# date
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
timezone is.