s3-kerberos: avoid entering a password change dialogue also when using MIT.
commitbbfe6f4853b2fc8070348c5aaaebf9be3ba35660
authorGünther Deschner <gd@samba.org>
Mon, 15 Feb 2016 11:58:07 +0000 (15 12:58 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 May 2016 15:23:03 +0000 (11 17:23 +0200)
treef8dbe7c75535d80a96bcbc2da6ff206935829e67
parent9799c3063aa7e188d7a44cda53e8f537f869d083
s3-kerberos: avoid entering a password change dialogue also when using MIT.

Without this fix, for accounts with an expired password, a password change
process is initiated and - due to the prompter - this fails with a confusing
error message:

"kerberos_kinit_password Administrator@W2K12DOM.BER.REDHAT.COM failed: Password
mismatch
Failed to join domain: failed to connect to AD: Password mismatch"

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11906

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(v4-4-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-4-test): Wed May 11 17:23:03 CEST 2016 on sn-devel-144
source3/libads/kerberos.c
wscript_configure_system_mitkrb5