r23147: Patch #4566 from jacob berkman <jberkman@novell.com>. Pass password data...
authorJeremy Allison <jra@samba.org>
Fri, 25 May 2007 22:04:03 +0000 (22:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:48 +0000 (12:22 -0500)
Jeremy.

source/libads/kerberos.c

index c721b5638500ad45e03bdae9215cb5fd045a4582..841674bea5785801ee6712a5c8f6384bb74e6cd9 100644 (file)
@@ -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;
        }