s3: Allow previous password to be stored and use it to check tickets
commit57ab910b6f3a24bf188415baf58de610203594b1
authorMatthieu Patou <mat@matws.net>
Fri, 21 May 2010 07:57:29 +0000 (21 11:57 +0400)
committerGünther Deschner <gd@samba.org>
Wed, 2 Jun 2010 12:32:23 +0000 (2 14:32 +0200)
treedf32dc663dbbda02d4a76bc92b935d6ba58f81ae
parent95863bfb5e547132c8f02c49a2bed1ec308d8f5e
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>
source3/include/proto.h
source3/include/secrets.h
source3/libads/kerberos_verify.c
source3/passdb/machine_account_secrets.c