s3: Allow previous password to be stored and use it to check tickets
authorMatthieu Patou <mat@matws.net>
Fri, 21 May 2010 07:57:29 +0000 (11:57 +0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 18 Jun 2010 06:33:29 +0000 (08:33 +0200)
commit3a635728edb2a54c7cf6eb2d0660457b4840034b
treebaf3693034b840f595b0fbf0c0e3dfe50cd1b643
parentc31ac2ebd5ce850f87f4e29dab8e009def1b4e87
s3: Allow previous password to be stored and use it to check tickets

This patch is to fix bug 7099. It stores the current password in the
 previous password key when the password is changed. It also check the
 user ticket against previous password.

Signed-off-by: Günther Deschner <gd@samba.org>
Fix bug #7099 (Every Thursday at 11:08-11:15am Windows Client
Connections break with Kerberos errors).
(cherry picked from commit 89eea1fa9154c67ae4d3e729a8db7ad17ec9b9d7)
source3/include/proto.h
source3/include/secrets.h
source3/libads/kerberos_verify.c
source3/passdb/secrets.c