diff options
author | Jeremy Allison <jra@samba.org> | 2010-01-27 16:42:06 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-01-27 16:42:06 -0800 |
commit | 627fb85092f728065b6d772c41aeb75018154e86 (patch) | |
tree | a49d1fb2c44883a36e3adb6dde25c812b492e03b /libds/common | |
parent | 8e26aa3d7cec968584283634fe3dce5553387c8c (diff) | |
download | samba-627fb85092f728065b6d772c41aeb75018154e86.tar.gz samba-627fb85092f728065b6d772c41aeb75018154e86.tar.bz2 samba-627fb85092f728065b6d772c41aeb75018154e86.zip |
Fix bug #7072 - Accounts can't be unlocked from ldap.
Fix suggested by Andy Hanton <andyhanton@gmail.com>. The LOGIN_CACHE
struct contains two time_t entries, but was being written to and
read from via tdb_pack/tdb_unpack functions using explicit 32-bit int specifiers.
This would break on machines with a 64-bit time_t. Use correct int
sizes for tdb_pack/tdb_unpack.
We have to fix this properly before 2037 :-).
Jeremy.
Diffstat (limited to 'libds/common')
0 files changed, 0 insertions, 0 deletions