Commit 1e56bc9
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 735fe23 commit 1e56bc9
2 files changed
+32
-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 | | |
| |||
877 | 878 | | |
878 | 879 | | |
879 | 880 | | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
880 | 887 | | |
881 | 888 | | |
882 | 889 | | |
| |||
944 | 951 | | |
945 | 952 | | |
946 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
947 | 961 | | |
948 | 962 | | |
949 | 963 | | |
| |||
3957 | 3971 | | |
3958 | 3972 | | |
3959 | 3973 | | |
| 3974 | + | |
| 3975 | + | |
| 3976 | + | |
| 3977 | + | |
3960 | 3978 | | |
3961 | 3979 | | |
3962 | 3980 | | |
3963 | 3981 | | |
3964 | 3982 | | |
3965 | 3983 | | |
| 3984 | + | |
| 3985 | + | |
3966 | 3986 | | |
3967 | 3987 | | |
3968 | 3988 | | |
3969 | 3989 | | |
3970 | 3990 | | |
3971 | 3991 | | |
3972 | | - | |
3973 | | - | |
3974 | | - | |
3975 | | - | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
3976 | 4000 | | |
3977 | 4001 | | |
3978 | 4002 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
458 | 462 | | |
459 | 463 | | |
460 | 464 | | |
| |||
0 commit comments