GPOA is a function to get, reinterpret, and apply GPOs from Windows Active Directory domains in UNIX environments.
The news recently broke about the release of the new version of the gpupdate tool, which is used to apply group policies in Alt distributions , on client machines, both at the system level and for individual users.
The gpupdat e tool is part of a Basalt SPO alternative solution for deploying an Active Directory domain infrastructure under Linux. The application supports working with MS AD or Samba DC domain infrastructure.
gpupdate is based on the Linux group policy implementation, where the policies are stored in the SysVol directory on the domain controllers.
GPOA, a submodule of gpupdate, accesses the domain controller's SysVoI directory and loads all the GPT/GPO templates for the system and users (machine and user directories) and all directory information. The gpupdate tool analyzes the files with the .pol extension itself and compiles the database. From this database, GPOA retrieves its data, sorts it, processes it, and begins executing the "applier" modules one by one.
Each of these modules is responsible for its part in applying the configuration. For example, there are modules related to system kernel configuration, desktop configuration, peripherals, browser configuration, and printer configuration.
And each of the modules takes that part of the database that corresponds to it, for example, the firefox applicator will search the database for a line with firefox and will process only this part of the database, that is, to form a file json from this information in the /etc/firefox/policies directory (as formed on Linux).
The main new features of the latest version of gpupdate include the following:
- All Firefox and Chromium web browser policies are supported.
- Added mechanisms to apply script policies: login/logout/login/shutdown.
- Mechanisms for applying system configuration parameters (preferences): operations with files (Files), directories (Folders), configuration files (Ini-files).
- Added a new action to update the state of services in gpupdate-setup: The update key starts all necessary services when updating the affected gpupdate.
- Improvement of the application of personalized policies in terms of their correct functioning and security.
- Systemd introduced the gpupdate.timer system timer and the gpupdate-user.timer user timer to monitor and control the execution time of the gpupdate service.
- The frequency with which gpupdate runs can be set via a timer.
- Optimized Policy Loopback Processing Mode: Configuring the custom group policy loopback processing mode.
- Added a mechanism for applying Yandex Browser group policies for a computer.
- Mechanisms for applying system configuration parameters (preferences): configuration of network shares for the user (network shares).
- Added enumeration of domain controllers (DCs) with a SysVol directory configured if the auto-selected DC happened to be a SysVol that has no group policies.
- By default, domain controller enumeration is disabled.
- Added the ability to generate rules for all polkit actions via group policy; for each polkit action, you can prepare an admx configuration template that will be displayed in the console tree of the graphical tool for editing user and GPUI system configurations.
- Fixed display of disk mount policy to the user and added support for mounting on the computer.
- Added support for disk label options.
- Fixed collision of drive letter names; drive letters are assigned as in Windows.
- Changed mount points to show shares.
Finally, for those interested, the gpupdate code is written in Python and distributed under the GPLv3+ license; the tool can be installed from the stable p10 branch of the ALT repositories.