|
Line
Link Here
|
| 0 |
-- gss-serv-krb5.c |
0 |
++ gss-serv-krb5.c |
|
Lines 178-184
Link Here
|
| 178 |
|
178 |
|
| 179 |
client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache)); |
179 |
client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache)); |
| 180 |
client->store.envvar = "KRB5CCNAME"; |
180 |
client->store.envvar = "KRB5CCNAME"; |
| 181 |
client->store.envval = xstrdup(client->store.filename); |
181 |
int envval_len = strlen(client->store.filename) + 6; |
|
|
182 |
if (client->store.envval = xmalloc (envval_len)) |
| 183 |
snprintf(client->store.envval,envval_len,"FILE:%s",client->store.filename); |
| 182 |
|
184 |
|
| 183 |
#ifdef USE_PAM |
185 |
#ifdef USE_PAM |
| 184 |
if (options.use_pam) |
186 |
if (options.use_pam) |