Commit 979c7af
committed
krb5_child: fix enterprise principal parsing in keep-alive sessions
When keep-alive sessions transition between command types (e.g., from
SSS_PAM_PREAUTH to SSS_PAM_AUTHENTICATE), enterprise principal settings
were not being updated, causing parsing inconsistencies in complex AD
environments.
This change ensures that when the backend sends updated enterprise
principal settings for different command types, the principals are
correctly re-parsed with the appropriate flags, fixing UPN handling in
multi-domain AD environments.
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>1 parent 72a42d5 commit 979c7af
2 files changed
+29
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
874 | 875 | | |
875 | 876 | | |
876 | 877 | | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
877 | 884 | | |
878 | 885 | | |
879 | 886 | | |
| |||
941 | 948 | | |
942 | 949 | | |
943 | 950 | | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
944 | 958 | | |
945 | 959 | | |
946 | 960 | | |
| |||
3989 | 4003 | | |
3990 | 4004 | | |
3991 | 4005 | | |
| 4006 | + | |
| 4007 | + | |
| 4008 | + | |
3992 | 4009 | | |
3993 | 4010 | | |
3994 | 4011 | | |
3995 | 4012 | | |
3996 | 4013 | | |
3997 | 4014 | | |
| 4015 | + | |
3998 | 4016 | | |
3999 | 4017 | | |
4000 | 4018 | | |
4001 | 4019 | | |
4002 | 4020 | | |
4003 | 4021 | | |
4004 | | - | |
4005 | | - | |
4006 | | - | |
4007 | | - | |
| 4022 | + | |
| 4023 | + | |
| 4024 | + | |
| 4025 | + | |
| 4026 | + | |
| 4027 | + | |
| 4028 | + | |
| 4029 | + | |
4008 | 4030 | | |
4009 | 4031 | | |
4010 | 4032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
458 | 461 | | |
459 | 462 | | |
460 | 463 | | |
| |||
0 commit comments