[SRU] Adsys can't properly resolve registry.pol vs Regristry.pol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adsys (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
adsys is only able to parse .pol files exactly named "Registry.pol". With this, it is now able to ignore casing on the registry file and behave more similarly to what Windows machines do (as they ignore casing).
[Test Plan]
1. Configure a GPO in the AD controller and rename the registry file to "registry.pol"
- File can be found at "\\domain.
2. Install adsys and update the policies
- `adsysctl policy update --all`
3. adsys should correctly fetch and apply all policies, regardless of the registry name format;
[Where Problems Could Occur]
Due to adsys not being able to parse these files before, some policies that weren't applied before on the client due to this issue will be applied now. This could cause behaviors that were unexpected by the AD administrators (depending on how the GPOs were configured).
[Original Description]
We're conducting tests to validate Ubuntu Pro 24.04 as supported corporate OS, we managed to integrate it with AD and fetch gpo's with adsys, however our domain controllers sends some GPO's in a file named `Registry.pol` which is what adsys expects[2], while other policies come as `registry.pol` which adsys doesn't read[3].
If I create a symlink from registry.pol to Registry.pol the GPO is applied fine.:
root@deskun:
total 12
lrwxrwxrwx 1 root root 12 Sep 5 19:48 Registry.pol -> registry.pol
-rw------- 1 root root 552 Sep 5 19:36 comment.cmtx
-rw------- 1 root root 4960 Sep 5 19:36 registry.pol
[2] https:/
[3]: level=debug msg="github.
description: | updated |
information type: | Private → Public |
description: | updated |
description: | updated |
summary: |
- Adsys can't properly resolve registry.pol vs Regristry.pol + [SRU] Adsys can't properly resolve registry.pol vs Regristry.pol |
description: | updated |
tags: |
added: verification-done verification-done-jammy verification-done-noble removed: verification-needed verification-needed-jammy verification-needed-noble |
This bug was fixed in the package adsys - 0.15.2
---------------
adsys (0.15.2) oracular; urgency=medium
[ Davi Henrique ]
* Ignore casing when fetching Registry.pol (LP: #2080390)
* Add configurable timeout for listing GPOs (LP: #2081966)
[ Felipe Alencastro ]
* Add support for DCONF usb settings (LP: #2081968)
-- Denison Barbosa <email address hidden> Wed, 25 Sep 2024 08:06:40 -0400