Commit 2fe3c19
committed
Don't inquire about incomplete security contexts
This commit changes `SecurityContext` to handle a couple of cases where
we called `_inquire` when the context was not fully established. A bug
in MIT krb5 prevents this from working properly.
In the case of `complete`, we simply cache the result of the last
`step` call.
Fixes #691 parent 8bfd908 commit 2fe3c19
2 files changed
+44
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
117 | 128 | | |
118 | 129 | | |
119 | 130 | | |
| |||
422 | 433 | | |
423 | 434 | | |
424 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
425 | 439 | | |
426 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
427 | 449 | | |
428 | 450 | | |
429 | 451 | | |
| |||
491 | 513 | | |
492 | 514 | | |
493 | 515 | | |
| 516 | + | |
| 517 | + | |
494 | 518 | | |
495 | 519 | | |
496 | 520 | | |
| |||
501 | 525 | | |
502 | 526 | | |
503 | 527 | | |
| 528 | + | |
| 529 | + | |
504 | 530 | | |
505 | 531 | | |
506 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
622 | 635 | | |
623 | 636 | | |
624 | 637 | | |
| |||
0 commit comments