View | Details | Raw Unified | Return to bug 698 | Differences between
and this patch

Collapse All | Expand All

(-)gss-serv-krb5.c (-1 / +4 lines)
Lines 104-109 Link Here
104
	krb5_error_code problem;
104
	krb5_error_code problem;
105
	krb5_principal princ;
105
	krb5_principal princ;
106
	OM_uint32 maj_status, min_status;
106
	OM_uint32 maj_status, min_status;
107
	int len;
107
108
108
	if (client->creds == NULL) {
109
	if (client->creds == NULL) {
109
		debug("No credentials stored");
110
		debug("No credentials stored");
Lines 146-152 Link Here
146
147
147
	client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache));
148
	client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache));
148
	client->store.envvar = "KRB5CCNAME";
149
	client->store.envvar = "KRB5CCNAME";
149
	client->store.envval = xstrdup(client->store.filename);
150
	len = strlen(client->store.filename) + 6;
151
	client->store.envval = xmalloc(envval_len);
152
	snprintf(client->store.envval,len,"FILE:%s",client->store.filename);
150
153
151
	krb5_cc_close(krb_context, ccache);
154
	krb5_cc_close(krb_context, ccache);
152
155

Return to bug 698