[autobackport: sssd-2-9] pam: gate PAC indicator code on BUILD_SAMBA#8628
Conversation
There was a problem hiding this comment.
Code Review
This pull request gates PAC indicator functionality and its dependencies behind the BUILD_SAMBA conditional across the build system, man pages, and PAM responder. While the logic for conditional compilation appears correct, the PR contains critical issues: unresolved merge conflict markers are present in Makefile.am and src/man/Makefile.am, which will cause build failures. Furthermore, new test targets are defined but not registered for execution, and several man page conditionals were lost in the conflict, potentially leading to incomplete documentation.
63ab500 to
96415ae
Compare
|
'system/c9s': |
sumit-bose
left a comment
There was a problem hiding this comment.
Hi,
the backport matches the original version of the patch, ACK.
bye,
Sumit
|
The pull request was accepted by @alexey-tikhonov with the following PR CI status: 🟢 CodeQL (success) There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging. |
96415ae to
0336b37
Compare
Commit 1f680ed added ad_pac_common.c and $(NDR_KRB5PAC_LIBS) to sssd_pam unconditionally. So when building --without-samba, sssd_pam fails to link with undefined references to ndr_pull_init_blob and ndr_pull_PAC_DATA. This change qualifies those additions with `BUILD_SAMBA` so the PAC indicator feature is compiled in only when samba support is enabled. Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Tomáš Halman <thalman@redhat.com> (cherry picked from commit d0becea)
0336b37 to
95fd0b4
Compare
This is an automatic backport of PR#8620 pam: gate PAC indicator code on BUILD_SAMBA to branch sssd-2-9, created by @padelsbach.
Caution
@padelsbach The patches did not apply cleanly. It is necessary to resolve conflicts before merging this pull request. Commits that introduced conflict are marked with
CONFLICT!.You can push changes to this pull request
Original commits
d0becea - pam: gate PAC indicator code on BUILD_SAMBA
Backported commits
Conflicting Files Information (check for deleted and re-added files)
Original Pull Request Body
Commit 1f680ed added ad_pac_common.c and $(NDR_KRB5PAC_LIBS) to sssd_pam unconditionally. So when building --without-samba, sssd_pam fails to link with undefined references to ndr_pull_init_blob and ndr_pull_PAC_DATA.
This change qualifies those additions with
BUILD_SAMBAso the PAC indicator feature is compiled in only when samba support is enabled.