The NetrServerAuthenticateKerberos() functionality is relatively new and has some bugs in the implementation in Windows Server 2025. Because of this and various stability and other reasons, as well as not much real world testing, we should make it very clear that it should not be used in production yet (in 4.22.*)
Created attachment 18581 [details] WHATSNEW patch for 4.22
This bug was referenced in samba master: 54514ad809ef2e70b772906a815b27a0950a5341 5fc5f90dee13ab5168c22fd53b89c582f3d582e9 154875244c5a349e04605cad1f66cb26aeaf86d7
Created attachment 18582 [details] Patches for v4-22-test
Pushed to autobuild-v4-22-test.
This bug was referenced in samba v4-22-test: 9fe35b7767dd6ccf31f4bfe0cf0f0089af075fad 6833384a1b89f2561493269dbce8c76d03a775c8 d589ae806b222c4009f12468c1ae133e7403927e 95099cef1573d4261d4e585a8ab49302c6083df6
Closing out bug report. Thanks!
This bug was referenced in samba v4-22-stable (Release samba-4.22.0rc4): 9fe35b7767dd6ccf31f4bfe0cf0f0089af075fad 6833384a1b89f2561493269dbce8c76d03a775c8 d589ae806b222c4009f12468c1ae133e7403927e 95099cef1573d4261d4e585a8ab49302c6083df6