summaryrefslogtreecommitdiffstats
path: root/src/windows/cns/kpasswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/cns/kpasswd.c')
-rw-r--r--src/windows/cns/kpasswd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows/cns/kpasswd.c b/src/windows/cns/kpasswd.c
index 2a79b84f70..93939e095d 100644
--- a/src/windows/cns/kpasswd.c
+++ b/src/windows/cns/kpasswd.c
@@ -130,12 +130,13 @@ k5_change_password (
if (name == NULL)
return ENOMEM;
sprintf (name, "%s@%s", user, realm);
+ ccache = (krb5_ccache) NULL;
/*
** Establish the connection.
*/
kret = krb5_adm_connect (k5context, name, NULL, opasswd, &conn_socket,
- &auth_context, &ccache);
+ &auth_context, &ccache, NULL, 0);
if (kret)
goto done;
/*