Hello David, or anyone else affected,

Accepted adsys into noble-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/adsys/0.14.3~24.04 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: adsys (Ubuntu Noble)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-noble

** Changed in: adsys (Ubuntu Jammy)
       Status: New => Fix Committed

** Tags added: verification-needed-jammy

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to adsys in Ubuntu.
https://bugs.launchpad.net/bugs/2080390

Title:
  [SRU] Adsys can't properly resolve registry.pol vs Regristry.pol

Status in adsys package in Ubuntu:
  Fix Released
Status in adsys source package in Jammy:
  Fix Committed
Status in adsys source package in Noble:
  Fix Committed

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.com\sysvol\policies\{policy-id}"

  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:/var/cache/adsys/sysvol/Policies/{8C89C929-97A5-4B64-BD71-E56B91D56A16}/User#
 ls -l
  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://github.com/ubuntu/adsys/blob/5dc6cd8707b8b0c597fd01e9525ae9bcc668c217/internal/ad/ad.go#L513

  [3]: level=debug msg="github.com/ubuntu/adsys/internal/ad/ad.go:527
  (*AD).parseGPOs.func1() Policy \"Workstations - Piloto Ubuntu\"
  doesn't have any policy for class \"user\" open
  
/var/cache/adsys/sysvol/Policies/{8C89C929-97A5-4B64-BD71-E56B91D56A16}/User/Registry.pol:
  no such file or directory"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/adsys/+bug/2080390/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to