summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-05-25 22:04:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:48 -0500
commitad5ff1b8090b225b7ac6d5b7ec08d9f70633db5e (patch)
tree4d3c25ac08ff749875ec148c2ada9c2d0e6e536d
parentcab1200b43ea4b2025f77c3ad3f815ce59857847 (diff)
downloadsamba-ad5ff1b8090b225b7ac6d5b7ec08d9f70633db5e.tar.gz
samba-ad5ff1b8090b225b7ac6d5b7ec08d9f70633db5e.tar.bz2
samba-ad5ff1b8090b225b7ac6d5b7ec08d9f70633db5e.zip
r23147: Patch #4566 from jacob berkman <jberkman@novell.com>. Pass password data to krb5_prompter.
Jeremy. (This used to be commit 232fc5d69d44404df13f6516864352f9a5721552)
-rw-r--r--source3/libads/kerberos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index c721b56385..841674bea5 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -248,7 +248,8 @@ int kerberos_kinit_password_ext(const char *principal,
}
if ((code = krb5_get_init_creds_password(ctx, &my_creds, me, CONST_DISCARD(char *,password),
- kerb_prompter, NULL, 0, NULL, opt))) {
+ kerb_prompter, CONST_DISCARD(char *,password),
+ 0, NULL, opt))) {
goto out;
}