dotnet / dotnet/Kerberos.NET

Setting RenewTickets does not respect existing cache file settings

Open
#268 2 comments 0 reactions 0 assignees View on GitHub
bug waiting-for-repro
Dominant language
C#
Stars
567
Forks
109
PR merge metrics
No merged PRs in 30d

Description

Setting `RenewTickets` seems to "forget" cache configuration of the client and revert back to default cache location. Code used:

```csharp
var client = new KerberosClient(config, loggerFactory);
client.CacheInMemory = false;
client.Cache = new Krb5TicketCache(options.CacheFile);
client.RenewTickets = true;
```

after the last line runs, the cache is no longer pointing to what is specified in `options.CacheFile`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.