Commit 1f680ed
pam: apply SIDs from PAC to authentication indicators
This patch reads the PAC of a Kerberos ticket while evaluating the
authentication indicators of the Kerberos ticket during a pam_sss_gss
request. Based on the value of the pam_gssapi_indicators_apply option
the found SIDs might add additional authentication indicators to the
evaluation.
The primary use case is to handle SIDs added by Active Directory's
Authentication Mechanism Assurance (AMA).
:relnote: During the processing of the pam_sss_gss request SSSD will
read the SID from the PAC of the Kerberos ticket and might add
authentication indicators based on the value of the new option
pam_gssapi_indicators_apply. The primary use case is to handle SIDs
added by Active Directory's Authentication Mechanism Assurance (AMA).
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Tomáš Halman <thalman@redhat.com>1 parent 22de4fd commit 1f680ed
6 files changed
Lines changed: 360 additions & 27 deletions
File tree
- src
- config/SSSDConfig
- responder/pam
- tests/system/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
| 1525 | + | |
1525 | 1526 | | |
1526 | 1527 | | |
1527 | 1528 | | |
1528 | 1529 | | |
1529 | 1530 | | |
1530 | 1531 | | |
1531 | 1532 | | |
| 1533 | + | |
1532 | 1534 | | |
1533 | 1535 | | |
1534 | 1536 | | |
| |||
1540 | 1542 | | |
1541 | 1543 | | |
1542 | 1544 | | |
| 1545 | + | |
| 1546 | + | |
1543 | 1547 | | |
1544 | 1548 | | |
1545 | 1549 | | |
| |||
2564 | 2568 | | |
2565 | 2569 | | |
2566 | 2570 | | |
| 2571 | + | |
2567 | 2572 | | |
2568 | 2573 | | |
2569 | 2574 | | |
2570 | 2575 | | |
2571 | 2576 | | |
2572 | 2577 | | |
2573 | 2578 | | |
| 2579 | + | |
2574 | 2580 | | |
2575 | 2581 | | |
2576 | 2582 | | |
| |||
2592 | 2598 | | |
2593 | 2599 | | |
2594 | 2600 | | |
| 2601 | + | |
2595 | 2602 | | |
2596 | 2603 | | |
2597 | 2604 | | |
| |||
2608 | 2615 | | |
2609 | 2616 | | |
2610 | 2617 | | |
| 2618 | + | |
2611 | 2619 | | |
2612 | 2620 | | |
2613 | 2621 | | |
2614 | 2622 | | |
2615 | 2623 | | |
2616 | 2624 | | |
2617 | 2625 | | |
| 2626 | + | |
2618 | 2627 | | |
2619 | 2628 | | |
2620 | 2629 | | |
| |||
2632 | 2641 | | |
2633 | 2642 | | |
2634 | 2643 | | |
| 2644 | + | |
2635 | 2645 | | |
2636 | 2646 | | |
2637 | 2647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments