r23563: Add dump-event-list command to smbcontrol.
[sfrench/samba-autobuild/.git] / 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;
        }