heimdal: Fix reauthentication after password change
authorAndreas Schneider <asn@samba.org>
Wed, 7 Sep 2016 15:17:08 +0000 (17:17 +0200)
committerJeremy Allison <jra@samba.org>
Sun, 11 Sep 2016 00:58:21 +0000 (02:58 +0200)
commitb3e324aad53a6b4adf0ece58c1b8bd9eed2cd48c
tree36678270a2556f85e6ca9f6c75c97ea9331b1e3b
parentc855a3776130aee4057acc144157c05fea3ee02d
heimdal: Fix reauthentication after password change

If the KDC requires a password change kinit will ask after the initial
authentication for a new password. After the password has been changed
it does reauthentication and for that it needs to use the new password
we just set.

It is needed for the a new kpasswd service test.

This is already fixed upstream with:
    911c99375741281adae305f6ec3a3317023eba3e

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/heimdal/lib/krb5/init_creds_pw.c