diff options
author | Jeremy Allison <jra@samba.org> | 2010-01-27 17:16:04 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2010-02-24 16:25:09 +0100 |
commit | 00388e6b8776c4e54ca0d0b566a50a19e0f6d78f (patch) | |
tree | fbd5d8d42826b720771541ed1c9e60238f49d9d2 /tests | |
parent | 153357b9bb4d70a168c81cb9ff2da437eae823fc (diff) | |
download | samba-00388e6b8776c4e54ca0d0b566a50a19e0f6d78f.tar.gz samba-00388e6b8776c4e54ca0d0b566a50a19e0f6d78f.tar.xz samba-00388e6b8776c4e54ca0d0b566a50a19e0f6d78f.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 :-).
Contains fixes from master 627fb85092f728065b6d772c41aeb75018154e86
and 69fd8461b8792f4fee1b61db03953044565492c6.
Jeremy.
(cherry picked from commit 0b36486fa7d2689635018c2fc883860251dc8066)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions