Skip to content

roles: add gpo filesyspath method - #260

Merged
jakub-vavra-cz merged 2 commits into
SSSD:masterfrom
danlavu:gpo-gpcpath
Jul 20, 2026
Merged

roles: add gpo filesyspath method#260
jakub-vavra-cz merged 2 commits into
SSSD:masterfrom
danlavu:gpo-gpcpath

Conversation

@danlavu

@danlavu danlavu commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

needed to configure an invalid gpcfilesyspath value.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new filesyspath method to the GenericGPO interface, with corresponding implementations in the Active Directory (GPO) and Samba (SambaGPO) roles to allow overwriting the gPCFileSysPath attribute. The review feedback correctly identifies an issue in the Active Directory implementation where PowerShell failures are masked by an explicit Exit 0, and suggests setting $ErrorActionPreference = "Stop" to ensure errors are properly propagated.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread sssd_test_framework/roles/ad.py
Comment thread sssd_test_framework/roles/generic.py Outdated
Comment thread sssd_test_framework/roles/ad.py
needed to configure an invalid gpcfilesyspath value.
@jakub-vavra-cz
jakub-vavra-cz merged commit 008e5c1 into SSSD:master Jul 20, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants