Skip to content

Commit 6e21eb7

Browse files
chore(release): prepare for publishing
1 parent 1cd2feb commit 6e21eb7

3 files changed

Lines changed: 31 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,35 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## [[0.23.2](https://github.com/Devolutions/sspi-rs/compare/sspi-v0.23.1...sspi-v0.23.2)] - 2026-10-27
10+
11+
### <!-- 1 -->Features
12+
13+
- Honour DNS SRV port and fail over across multiple KDCs ([#698](https://github.com/Devolutions/sspi-rs/issues/698)) ([f43059048a](https://github.com/Devolutions/sspi-rs/commit/f43059048a0cbfe750467fa7f6f886d24ffcf325))
14+
15+
Kerberos clients resolved a single KDC and never failed over: the
16+
Windows DNS SRV lookup read only the first record and hardcoded port 88,
17+
krb5.conf parsing kept only the first `kdc =` line of a realm, and every
18+
message of an exchange re-resolved the KDC independently, so round-robin
19+
DNS could bounce one authentication between KDCs.
20+
21+
- Honour the DNS SRV port on Windows by walking every record
22+
`DnsQuery_W` returns, keeping the SRV ones and using their `wPort`.
23+
- Add `detect_kdc_urls()`, which returns every candidate in resolution
24+
order (`SSPI_KDC_URL_<REALM>`, krb5.conf, DNS SRV); `detect_kdc_url()`
25+
keeps returning the first.
26+
- Read every `kdc =` line of a realm from krb5.conf, one host per line
27+
as the MIT documentation specifies.
28+
- Try candidates in order and advance on any send error; any KDC reply,
29+
including a KRB-ERROR, is returned as-is.
30+
- Pin the KDC that answered for a realm for the rest of the exchange and
31+
re-resolve only when it stops answering. A configured KDC URL stays the
32+
sole candidate for the home realm; referral realms are always resolved.
33+
34+
SRV priority and weight are not applied yet; see #787.
35+
36+
37+
938
## [[0.23.1](https://github.com/Devolutions/sspi-rs/compare/sspi-v0.23.0...sspi-v0.23.1)] - 2026-10-27
1039

1140
### <!-- 0 -->Security

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sspi"
3-
version = "0.23.1"
3+
version = "0.23.2"
44
edition = "2024"
55
readme = "README.md"
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)