+2000-06-28 Ezra Peisach <epeisach@mit.edu>
+
+ * client_init.c (_kadm5_init_any): gss_krb5_ccache_name returns
+ const char *, but the code was treating it as a char *.
+
2000-06-23 Nalin Dahyabhai <nalin@redhat.com>
* clnt_chpass_util.c (kadm5_chpass_principal_util): Adjust for new
int i;
char full_service_name[BUFSIZ], host[MAXHOSTNAMELEN], *ccname_orig;
+ const char *c_ccname_orig;
char *realm;
krb5_creds creds;
krb5_ccache ccache = NULL;
/* use the kadm5 cache */
gssstat = gss_krb5_ccache_name(&minor_stat, handle->cache_name,
- &ccname_orig);
+ &c_ccname_orig);
if (gssstat != GSS_S_COMPLETE) {
code = KADM5_GSS_ERROR;
goto error;
}
- if (ccname_orig)
- ccname_orig = strdup(ccname_orig);
+ if (c_ccname_orig)
+ ccname_orig = strdup(c_ccname_orig);
+ else
+ ccname_orig = 0;
+
#ifndef INIT_TEST
input_name.value = full_service_name;