fix(wlan-setup): Windows profile valid against the provisioning schemas #1573

Merged
k.renner merged 1 commits from fix/wlan-setup-windows-xsd into main 2026-11-05 15:17:16 +00:00
Member

Windows Settings rejected the Windows provisioning XML as invalid.

  • Cause: Global/SubscriberId is base:SubscriberType (\w+, at most 20 characters) in the schemas Windows ships in %SYSTEMROOT%\schemas\provisioning; renner-unifi contains a hyphen. Now rennerunifi.
  • Those schemas also allow WPA3ENT and Hotspot2/NAIRealm, which the online schema reference lacks: the profile uses WPA3ENT again (the network is WPA3-Enterprise) and carries NAI realm renner.uno next to the domain.
  • TestWindowsProfileSchema validates the signed document with xmllint against a copy of that schema folder (WLAN_SETUP_PROVISIONING_XSD); without it the test is skipped (Microsoft's files are not in the repo). With the old value it fails on exactly the SubscriberId pattern.

🤖 Generated with Claude Code

Windows Settings rejected the Windows provisioning XML as invalid. - Cause: `Global/SubscriberId` is `base:SubscriberType` (`\w+`, at most 20 characters) in the schemas Windows ships in `%SYSTEMROOT%\schemas\provisioning`; `renner-unifi` contains a hyphen. Now `rennerunifi`. - Those schemas also allow `WPA3ENT` and `Hotspot2/NAIRealm`, which the online schema reference lacks: the profile uses `WPA3ENT` again (the network is WPA3-Enterprise) and carries NAI realm `renner.uno` next to the domain. - `TestWindowsProfileSchema` validates the signed document with xmllint against a copy of that schema folder (`WLAN_SETUP_PROVISIONING_XSD`); without it the test is skipped (Microsoft's files are not in the repo). With the old value it fails on exactly the `SubscriberId` pattern. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-bot added 1 commit 2026-11-05 15:16:08 +00:00
fix(wlan-setup): Windows profile valid against the provisioning schemas
ci/woodpecker/pr/wlan-setup-test Pipeline was successful
ci/woodpecker/pr/ci-scripts-test Pipeline was successful
55fce76a2d
Windows Settings rejected the provisioning XML: Global/SubscriberId is
base:SubscriberType (\w+, at most 20 characters) in the schemas Windows
ships in %SYSTEMROOT%\schemas\provisioning, and "renner-unifi" contains a
hyphen. It is now "rennerunifi".

Those schemas also allow WPA3ENT and Hotspot2/NAIRealm, which the online
schema reference lacks: the profile uses WPA3ENT again (the network is
WPA3-Enterprise) and carries NAI realm renner.uno next to the domain.

TestWindowsProfileSchema validates the signed document with xmllint against
a copy of that schema folder (WLAN_SETUP_PROVISIONING_XSD); without it the
test is skipped, the schemas are Microsoft's files and not in the repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
k.renner merged commit fec9f6e0e5 into main 2026-11-05 15:17:16 +00:00
Sign in to join this conversation.