summaryrefslogtreecommitdiff
path: root/wscript_configure_system_mitkrb5
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-02-15 12:58:07 +0100
committerJeremy Allison <jra@samba.org>2016-02-23 01:41:17 +0100
commitb3931af2df293a9cb75f21cdb5555fb6725dff34 (patch)
tree4116f67a8c98fb670bac0b8ea8922ff5e32e23f9 /wscript_configure_system_mitkrb5
parentf6f43c496e535641e024afde8fa596e4cbf929b4 (diff)
downloadsamba-b3931af2df293a9cb75f21cdb5555fb6725dff34.tar.gz
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" Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'wscript_configure_system_mitkrb5')
-rw-r--r--wscript_configure_system_mitkrb51
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
index 4b3a69fa344..9c1ad8f3279 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -115,6 +115,7 @@ conf.CHECK_FUNCS('''
krb5_keyblock_init krb5_principal_set_realm krb5_principal_get_type
krb5_principal_set_type
krb5_warnx
+ krb5_get_prompt_types
''',
lib='krb5 k5crypto')
conf.CHECK_DECLS('''krb5_get_credentials_for_user