Commit 20c643e
committed
Fix preauth flow for hash/key auth and remove PA_PAC_REQUEST from probe
Two fixes:
- Move step 2 (authenticated AS-REQ) out of the password-only else
block into its own if-preAuth-is-True block, fixing enc-part error
when using NTLM hash or AES key authentication
- Remove PA_PAC_REQUEST from probe AS-REQ to match kinit exactly,
fixing extra UDP-to-TCP fallback caused by larger KDC response1 parent 6a47c41 commit 20c643e
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | 279 | | |
284 | 280 | | |
285 | 281 | | |
| |||
291 | 287 | | |
292 | 288 | | |
293 | 289 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 290 | | |
298 | 291 | | |
299 | 292 | | |
| |||
392 | 385 | | |
393 | 386 | | |
394 | 387 | | |
| 388 | + | |
395 | 389 | | |
396 | 390 | | |
397 | 391 | | |
| |||
0 commit comments