Docs / Reference / Windows parity and differences

PDF784 KB

Why GPWarden exists, and where Linux differs from Windows

On this page

Rationale

GPWarden makes RHEL workstations as easy to manage with Group Policy as Windows workstations. It behaves the same way, so an existing Windows team gets a predictable platform and has very little to learn.

By default GPWarden acts like a Windows client:

  • Same rules. GPO order (local, site, domain, OUs), link order, Enforced, Block Inheritance, disabled links, security filtering, WMI filtering and loopback.
  • Same timing. Policy refreshes every 90 minutes plus a random 0–30 minutes. A policy refresh runs in the background at boot and logon unless "Always wait for the network" is set, and is never blocked by an unreachable DC.
  • Same caching. The last applied settings stay in force when no DC answers. Computer policy files are cached per GPO and version (/var/lib/gpwarden/gpo-cache, 0700): a GPO whose AD versionNumber is unchanged is not downloaded again, any GPMC edit bumps the version and is fetched at the next refresh, and gpwardenctl update --force (gpupdate /force) re-downloads everything.
  • Same tooling and settings. gpwardenctl update / result behave like gpupdate / gpresult, and Microsoft's own templates are used where a setting means the same thing on both platforms. Windows LAPS is configured with the native LAPS policy, for example.

All cryptography comes from RHEL packages: OpenSSL for crypto (including the encryption of GPWarden's own SMB client) and MIT Kerberos for authentication. Red Hat backports security fixes to these packages, so when RHEL is patched, GPWarden is patched. In FIPS mode the FIPS-validated module is used. This keeps technical debt and attack surface as small as possible. deny.toml enforces it: bundled crypto crates are banned, without exceptions.

Where full parity is not possible

The two platforms differ by nature. For each difference below: why it differs, what GPWarden does, and any residual risk. Status: Verified done and lab-verified · Planned planned · Open open question.

Identity and authentication

DifferenceRationaleGPWarden's solutionRisk
No LSA; the machine secret is a keytab VerifiedLinux has no LSA process holding the computer account's secret. adcli/SSSD store it in /etc/krb5.keytab.gpwardend gets the machine TGT from the keytab into a private cache (/var/lib/gpwarden: files 0600, directory 0711 so users can reach their own RSoP) and always talks to AD as the computer, like Windows.A root compromise exposes the keytab. That is equivalent to SYSTEM compromise on Windows, so there's no new risk class. SELinux confines gpwardend itself (see below).
FIPS mode VerifiedAD's default Kerberos encryption types are AES with SHA-1. RHEL in FIPS mode restricts algorithms through crypto-policies.Use RHEL's supported AD-in-FIPS configuration: FIPS:AD-SUPPORT.Verified on RHEL 9 switched to FIPS mode and on RHEL 10 installed in FIPS mode (installer booted with fips=1), SELinux enforcing: join, computer and user policy (GPMC parity), PAM logon, local administrators, encrypted LAPS with an ECDH KDS root key (Windows decrypts it; the password works), the full test suite. A finite-field DH KDS root key is refused by both FIPS modules; GPWarden says so and keeps the password.
LDAP signing / sealing VerifiedHardened domains require LDAP signing.Kerberos SASL bind with the confidentiality (sealing) layer from system MIT krb5. Verified with LDAPServerIntegrity=2: unsealed binds are refused, while GPWarden's policy refresh and LAPS rotation work.None known. LDAPS channel binding isn't needed because GPWarden doesn't use TLS for LDAP.
DC location VerifiedNo DsGetDcName on Linux.adcli info performs the same CLDAP "netlogon ping" and returns the closest DC for the computer's AD site.None known. A site with no DC falls back the same way Windows does.
DC authenticity VerifiedDC location (DNS SRV, CLDAP) is not authenticated, and Kerberos proves only that a server holds the key for the name asked for; any computer account may register ldap/, cifs/ and host/ names for its own host. Windows checks the DC through the Netlogon secure channel.GPWarden uses a DC only after LDAP binds to ldap/<dc>/<domain>, a name only DCs may register, and that session shows the name belongs to a domain controller account (SERVER_TRUST_ACCOUNT) in the domain's naming context. SMB and RPC then use that verified name. Anything else counts as no DC: the last applied policy stays.DCs whose DNS name is outside the domain's namespace (disjoint namespace) and read-only DCs are refused.
Site-linked GPOs Verified—The computer's site from the DC locator selects CN=<site>,CN=Sites,<configuration NC>; its links apply first (LSDOU), for computer and user policy, loopback included.None known. Verified: application order equals Windows Group Policy Modeling for both workstations and both user scenarios.
GPOs with no settings for a side Verified—A GPO whose computer (or user) version is 0, or that names no client-side extension for that side (edited, then emptied), is skipped silently: not applied, not listed as filtered out.None known. Verified against a domain-joined Windows 11 25H2 client: Windows marks such GPOs invalid in the RSoP XML and omits them from gpresult /r; earlier GPWarden builds listed them as "Not Applied (Empty)" and applied an emptied GPO.
Loopback merge lists a GPO twice Verified—In merge mode the user's own GPO list is followed by the computer-scope list; a GPO in both (for example a site-linked one) is applied twice and listed twice, the later copy winning.None known. Verified on Windows 11: alice's live gpresult and GPWarden both give Site Policy, Staff Desktop, Site Policy, Linux Desktop, with identical resulting user settings.
Users run gpupdate and gpresult themselves Verified—Any local user may run gpwardenctl update (computer policy, then their own user policy, like gpupdate) and gpwardenctl result (their own user RSoP, like gpresult /r without elevation). gpwardend identifies the caller by the socket's peer credentials (SO_PEERCRED), never by what the request claims. Computer RSoP, other users' RSoP (--user, like gpresult /user) and logon processing need root.The control socket is reachable by every local user. A user can trigger refreshes (load on the DC), as on Windows; requests are processed one at a time, each read is capped at 1 KiB with a 5 s timeout, and the parser accepts only fixed request shapes.

Security filtering

DifferenceRationaleGPWarden's solutionRisk
Group membership is read live VerifiedWindows evaluates security filtering against the computer's logon token, so admins reboot after changing a computer's groups. Linux has no machine logon token.GPWarden reads the computer's tokenGroups from AD at each refresh and walks every GPO's DACL for "Apply Group Policy" and Read like the Windows access check (deny before allow), so a group excluded by denying Read is excluded on Linux too. WMI filters are read at their fixed place (CN={id},CN=SOM,CN=WMIPolicy,CN=System), as Windows reads them. Verified against Windows' own Group Policy Modeling (lab/hetzner/parity-check.sh).Group changes take effect at the next refresh, without a reboot. That's more convenient but differs from Windows; we document it so admins aren't surprised.

Policy storage and settings

DifferenceRationaleGPWarden's solutionRisk
No registry VerifiedLinux settings live in dconf, files and services, not the registry.GPWarden merges every GPO's Registry.pol with Windows semantics into an in-memory registry. Each manager (a client-side extension) turns its keys into native Linux configuration. The policy registry is rebuilt on every refresh, so settings that are no longer set disappear, as on Windows.A Windows-only setting has no effect on Linux. Mitigation: gpwardenctl result lists settings that are set but not applicable, so nothing is silently ignored.
Linux-specific settings need their own templates VerifiedMany Linux settings (GNOME, dnf, SELinux) have no Windows equivalent.GPWarden has its own ADMX/ADML namespace (Software\Policies\GPWarden), installed in the Central Store and edited in GPMC like any other template. It is separate from other products' registry roots, so other Linux Group Policy clients can coexist in the same AD.Admins learn a few new template categories, not a new tool.
Microsoft templates are reused only where the meaning matches VerifiedReusing a Windows setting whose meaning differs on Linux would be unpredictable.GPWarden reads Microsoft's own policy values only where the behavior is the same. Done: Windows LAPS; Interactive logon: Message title/text → GDM login banner and console /etc/issue.d; Interactive logon: Machine inactivity limit → locked GNOME idle lock; Removable Storage: All classes, deny all access → USB mass-storage interfaces de-authorized (udev).Each reused setting must be documented, with any deviations.
Security settings are "tattooed" VerifiedWindows applies Security Settings (GptTmpl.inf) to the system and does not revert them when the GPO goes away; Registry.pol policies are reverted. Windows admins rely on both behaviors.GPWarden does the same: banner and inactivity limit stay until a GPO sets another value; Registry.pol-based settings (e.g. removable storage, GPWarden's own dconf settings) are removed when no GPO sets them. Verified in the lab.Admins who expect a banner to disappear with its GPO must set a new value, as on Windows.
USB storage block: physical effect OpenThe cloud lab has no USB ports.The rule is verified with udevadm verify, the sysfs de-authorization logic is unit-tested, and add/remove follows policy in the lab.Physical block of a real USB stick still has to be shown on hardware (or a VM with USB passthrough).

Windows LAPS

DifferenceRationaleGPWarden's solutionRisk
Local Administrators group → sudo and polkit VerifiedLinux has no local Administrators group; admin rights are sudo rules and polkit admin identities.GPWarden keeps the group's membership as Windows computes it (Group Policy Preferences, then Restricted Groups; persistent between refreshes; Restricted Groups rolled back when removed) in /var/lib/gpwarden/administrators.json, and writes one sudoers drop-in (checked by visudo) and one polkit rule, by numeric UID/GID from SSSD. Verified against Windows 11 in the same OU, 20 scenarios (lab/hetzner/admins-parity.sh): identical domain members every time.Rights granted outside GPWarden (wheel, other sudoers files) are not removed, so Restricted Groups cannot take away rights it did not grant. Windows' local accounts and default members (Domain Admins added at join) are not mirrored. Item-level targeting: computer-side filters (group, name, OU, site, IP range, domain, WMI, OS) evaluated as Windows does; items with other filters are skipped with a warning.
Built-in Administrator (RID 500) is root VerifiedLinux has no RID-500 account; root is the closest equivalent.AdministratorAccountName empty = root; otherwise the named local account.Many organizations disable root logon. Recommend a dedicated local admin account in the LAPS policy, as Microsoft recommends on Windows.
Clear-text msLAPS-Password is write-only for the computer VerifiedAD makes it a confidential attribute. The Windows client can't read it either.Rotation decisions use the expiration time and local state, like Windows. If the local password change fails in clear-text mode, the DC entry is expired so the next cycle retries.None beyond Windows' own behavior. Clear-text mode itself is weaker; prefer encrypted mode (the default).
Encrypted LAPS (DPAPI-NG) VerifiedLinux has no DPAPI-NG.GPWarden talks MS-GKDI to the DC with the machine ticket and builds DPAPI-NG blobs on system OpenSSL. Verified: Windows Get-LapsADPassword decrypts them.Needs domain functional level 2016 and a KDS root key, as on Windows. In FIPS mode, the default KDS key's finite-field DH group is refused by RHEL's FIPS module, so FIPS customers need an ECDH KDS root key (verified with ECDH P-384; see DEPLOYMENT.md, FIPS mode).
Passwords and passphrases (complexity 1–8) VerifiedWindows documents exact character sets and EFF-derived word lists.Character sets for levels 1–5 are Microsoft's, character for character (level 4's specials are ,.-+;!#&@{}[]$/()%; level 5 drops look-alikes and adds :=?*), with at least one character from each set, chosen without bias from the OpenSSL RNG. Levels 6–8 build PassphraseLength capitalized words with no separators from EFF's long, short and unique-prefix lists.Microsoft's lists are EFF's with "slight modifications" (its short lists have 1276 words, EFF's 1296) and carry no redistribution license, so GPWarden ships EFF's originals (CC-BY-3.0, crates/gpwarden-core/wordlists/NOTICE.md). A few words may appear in GPWarden passphrases that Windows never uses; entropy is unchanged in practice.
Post-authentication actions VerifiedWindows detects sign-ins of the managed account itself; Linux signs in through PAM and logind.pam_gpwarden in the auth phase of postlogin remembers which account PAM authenticated; when a session then opens for that account, gpwardend starts the grace period (PostAuthenticationResetDelay, 0 = off; a later sign-in doesn't extend it; kept across restarts). When it ends: reset the password (1); then sign out every interactive logind session of the account after a two-minute warning on its terminals (3); additionally kill the account's remaining processes in login sessions (11); or shutdown -r +1 (5), Windows' one-minute delay. Verified on RHEL 10 with the real LAPS password through login: grace period started; after it, the password was reset, the warning appeared and the sessions ended; with 11, a root process in user.slice was killed and a root system service was not; with 5 a restart was scheduled; and the reset password from AD signed in.Only sign-ins that ran a PAM authentication of the account count (su, login, GDM, SSH with a password). SSH keys and sudo, which checks the caller's own password, don't use the LAPS password and don't start the grace period. Sign-out, like Windows, ends every interactive session of the account, including key-based SSH sessions (for example automation running as root). With action 11 and root, "remaining processes" means root processes inside login sessions (cgroups under user.slice, e.g. sudo -i or su shells of other admins); system services are never touched, as Windows' SYSTEM processes aren't. Graphical sessions get no on-screen warning (terminals only).
DSRM password backup and Entra ID backupLinux has no DSRM; Entra ID is out of scope for version 1.Not applicable / version 2.None.

Processing, logon and reporting

DifferenceRationaleGPWarden's solutionRisk
Refresh interval Verified—Every 90 minutes plus a random 0–30 minutes by default, like Windows. Microsoft's "Set Group Policy refresh interval for computers" (GroupPolicyRefreshTime/GroupPolicyRefreshTimeOffset, 0 = every 7 seconds) is honored, as is GPWarden's own template with the same meaning; Microsoft's wins when both are set. Logged-in users are refreshed together with the computer.Windows' separate user refresh interval (User Configuration) isn't used: user policy follows the computer's schedule.
Network availability at boot VerifiedWindows' Group Policy service reprocesses when Network Location Awareness reports connectivity. Linux has no single network stack (NetworkManager, systemd-networkd, dhcpcd, VPN clients).gpwardend is Type=notify and by default reports ready at once, so it never delays boot or logon. If a refresh fails, the last settings stay in force; a kernel netlink watch on address and route changes triggers a retry within about 2 s, with a 30 s–30 min back-off as a safety net. With "Always wait for the network at computer startup and logon" (Microsoft's SyncForegroundPolicy or GPWarden's template), gpwardend installs a drop-in that orders systemd-user-sessions.service (which gates every non-root login) after itself, and at the next boot reports ready only after computer policy is applied, retrying for up to 120 s. Like Windows, the setting takes effect at the boot after it was received; turning it off removes the drop-in. Verified on RHEL 10 across reboots: the first attempt failed while the DC's network came up, the retry applied all GPOs, and only then did systemd-user-sessions and GDM start.In synchronous mode, logins wait for network-online.target and up to 120 s for a DC, as on Windows. If no DC answers by then, logins proceed with the last applied settings.
User policy, as the user VerifiedWindows processes the User half of GPOs with the user's token and credentials.pam_gpwarden (session, optional) asks gpwardend, which runs a helper as the user: with the user's UID it sees only that user's SSSD KCM Kerberos ticket, so discovery, security filtering and SYSVOL reads use the user's identity. Settings go into a per-user, locked dconf database, selected by DCONF_PROFILE from PAM; logged-in users are refreshed in the background. Verified as the user through the real PAM session (su -), and against Windows' Group Policy Modeling.Needs SSSD with KCM ccaches (RHEL default).
Loopback processing VerifiedKiosk/lab machines apply the computer's user settings to everyone.Merge (user GPOs, then the computer's scope on top) and Replace (computer's scope only, filtered by the user's token), exactly as Windows. Verified against Windows' Group Policy Modeling for None/Merge/Replace (lab/hetzner/parity-check.sh).None known.
Logon gating VerifiedWindows Winlogon waits for user policy only in synchronous mode; Linux logon goes through PAM and GDM.Asynchronous by default (verified: PAM gets its reply at once, processing follows). With "Always wait for the network" (SyncForegroundPolicy), gpwardend replies only after user processing, bounded at 120 s. Any failure lets the logon through. Installed via an authselect custom profile (auth optional pam_gpwarden.so and session optional pam_gpwarden.so in postlogin).Verified both ways on RHEL 10: asynchronous replies at once and policy follows; with the GPO setting, the reply comes only after user policy is applied. A wrong PAM setup could lock users out; the module returns success on every failure.
WMI filters VerifiedThere is no WMI on Linux.GPWarden reads the GPO's gPCWQLFilter → msWMI-Som → msWMI-Parm2 and evaluates the WQL used in practice (SELECT … FROM Win32_OperatingSystem / Win32_ComputerSystem WHERE …: =, <>, <, >, LIKE with %/_/[ ], AND/OR/NOT, IS [NOT] NULL) against Linux facts (os-release, DMI, memory, domain). ProductType = 1 (workstation), OSType = 36 (LINUX), Version/BuildNumber = linux-<VERSION_ID>. Anything else (other classes, properties or namespaces) is false, as a failing filter is on Windows; the GPO shows "Denied (WMI Filter)".The linux- prefix is deliberate: without it the classic Windows 10/11 filter Version LIKE '10.%' would match RHEL 10 (verified in the lab before the fix). Linux-targeted filters use OSType = 36 or Version LIKE 'linux-10.%'. Admins must know which WQL GPWarden supports; unsupported WQL fails closed.
Event Log PlannedLinux logs to the journal.Structured journal entries with stable message IDs mirroring Windows Group Policy and LAPS event IDs; forwarding to the SIEM as usual.Monitoring rules keyed to Windows event IDs need a mapping table, which we publish.
Computer startup and shutdown scripts Verified.cmd/.ps1 scripts don't run on Linux.GPWarden honors the same GPMC Scripts entries (Machine\Scripts\scripts.ini and the files in the GPO's Scripts\Startup/Shutdown folders) and runs the ones that are Linux scripts (first line #!), as root, in GPO application order then list order, with the parameters as arguments (no shell). Windows scripts in the same GPO are skipped and logged. Each script runs as a transient systemd service, outside gpwardend's sandbox, like a Windows script running as SYSTEM. The scripts of one phase share Windows' default 600 s limit. Startup scripts run once per boot after the first successful refresh; shutdown scripts run when the machine shuts down (not on a service restart). Verified on RHEL 10: in-order execution, quoted parameters, a failing script's exit code and output in the journal, a .cmd skipped, and startup and shutdown scripts both writing outside gpwardend's private /var/tmp.Startup scripts don't hold back the login screen (Windows' "Run startup scripts asynchronously"). Scripts referenced by path or UNC name, not stored in the GPO, aren't run yet. Without a DC at boot, startup scripts wait for the first successful refresh.
User logon and logoff scripts Verified.cmd/.ps1 scripts don't run on Linux.Same GPMC entries (User\Scripts\scripts.ini, files in the GPO's Scripts\Logon/Logoff folders), read by the user helper with the user's own ticket, from the same GPO list as the user's settings (so loopback applies, as on Windows). Linux scripts (#!) run as the user (transient systemd service with the user's UID, groups, home and KCM Kerberos ticket) in GPO then list order. Logon scripts run in the background after user policy at each session start, like Windows' default asynchronous logon scripts. Logoff scripts run at session end and the session waits for them, as Windows does (600 s limit).Logon scripts don't run for a session that starts before the first computer refresh has succeeded. Every PAM session of the user counts as a logon (SSH, GDM, su - user).
Software installation VerifiedMSI packages don't install on Linux, and GPMC's Software Installation node only takes MSI (and, for users, .zap).Packages are assigned with GPWarden's template (GPWarden > Software > Install packages / Remove packages) and installed with dnf, like assigned software: once per boot after the first successful refresh, never in background refreshes, failures retried at the next startup. "Remove these packages when this policy no longer applies" mirrors "Uninstall this application when it falls out of the scope of management".Only packages GPWarden installed are removed when out of scope; pre-installed ones stay. A removal that would take other packages with it is refused (logged), so policy can't break a system by removing a library. Startup processing is asynchronous, so a first boot may finish installing after logon (as Windows with fast logon optimization).
User Group Policy Preferences VerifiedDrive letters, .lnk shortcuts, HKCU and Windows paths do not exist on Linux.Drive Maps become Files bookmarks mounted at session start (gvfs, Kerberos), Shortcuts become .desktop launchers, Environment goes to environment.d, Files/Folders to the home folder, Registry under GPWarden's dconf key to the user's dconf. Applied as the user in a transient unit (gpwardend's own sandbox keeps home read-only), with Windows' item semantics and item-level targeting in user context; state ("apply once", what to remove) in ~/.local/state/gpwarden, as Windows keeps it in HKCU.Domain-namespace paths are mounted from the policy's DC (gvfs cannot do Kerberos to the bare domain name). Items for Windows-only locations are skipped with a warning. Other preference extensions (Printers, Data Sources, Ini Files, Scheduled Tasks, ...) are not implemented.
Published applications (.zap) VerifiedGPMC publishes MSI or .zap packages to users; neither installs on RHEL as such.GPWarden reads the user GPOs' Class Store ([MS-GPSI]) and each .zap; SetupCommand names a dnf package or a signed .rpm on a share. Users install from gpwardenctl software (Windows: "Install a program from the network"); gpwardend installs for them; withdrawn and out-of-scope (with the uninstall option) applications are removed at the next logon.MSI packages are listed as not installable. File-type activation works for programs named by package (a hidden handler for file types nothing installed opens; verified: opening a PDF as a domain user installed the published viewer and opened the file); not for programs delivered as .rpm files. The desktop list, Install a Program from the Network, is in gpwarden-desktop. A package is shared by all users of the computer, so it is removed only when no user still has it.
Subscription repository and license VerifiedWindows has no counterpart to a vendor's dnf repository; GPWarden's customers are often government sites that allow no telemetry or license phone-home.A license key is a signed statement (customer, tier, seats, expiry; ECDSA P-256, FIPS-approved) verified offline on the computer and by the repository gateway. It is dnf's password for the repository, kept root-only in a dnf variable, set with gpwardenctl license or by Group Policy (policy wins; removal undoes only the policy's key). Packages are GPG-checked with the release key. Verified on RHEL 9 (FIPS, dnf 4) and 10: upgrade 0.1.0-8 to 0.1.0-9 from the licensed repository; no key, a forged key, an expired key and a revoked key are refused; a GPO's expired key leaves the working key in place.Seats are what the customer declares: the gateway's per-customer download report (distinct addresses, downloads) only helps reconcile, since NAT and proxies hide computers. Any user who can read the GPO can read a key deployed by policy. An expired key stops updates, not installed software.
Repositories and Windows Update VerifiedWindows Update has no RHEL counterpart; dnf repositories have no Windows one.Microsoft's own Configure Automatic Updates drives dnf-automatic (notify / download / scheduled install, day and hour, no restart while users are signed in); GPWarden > Software > Install only security updates adds RHEL's security filter. Repositories come from Configure package repositories, always with GPG checking.GPWarden runs its own gpwarden-updates.timer; the package's dnf-automatic*.timer and /etc/dnf/automatic.conf stay under local control unless updates are disabled by policy (then they are stopped). Windows' deadlines and active hours have no equivalent yet.
Account Policies for local accounts VerifiedWindows applies Password and Account Lockout Policy to a member's local SAM; Linux has PAM modules and shadow ages instead.pam_pwquality / pam_pwhistory / pam_faillock with local-users-only scope, login.defs and chage; the domain's own policy keeps governing domain accounts on the DCs. Verified against net accounts on Windows 11 for the same GPO.pwquality cannot go below 6 characters; Windows' "store passwords using reversible encryption" has no meaning; root and the LAPS account keep their own ages.
Browser sign-on from the zone map VerifiedOn Windows, Edge and Chrome use integrated authentication for Intranet-zone sites; Firefox does not use zones. On RHEL, Firefox is the default browser.The zone map's Intranet and Trusted sites go to Chrome/Chromium/Edge (unless their own allow-list is set) and also to Firefox (unless Mozilla's policy lists sites), so the same GPO signs users in on both platforms. Verified with headless Firefox against IIS with Windows Authentication (signed in with the policy, 401 without it).Sites in the Trusted zone also get Kerberos on RHEL; on Windows, Trusted sites need "Automatic logon" set for the zone.
Per-user printer connections VerifiedWindows keeps a user's printer connections in the user's profile; CUPS queues belong to the computer. Windows downloads the print server's driver; RHEL cannot run Windows drivers.A printer from user policy becomes a queue only its users may print to (lpadmin -u allow:); jobs go to the Windows print server over SMB as the user (Kerberos, samba-krb5-printing), so the server's queue shows the real owner. CUPS' generic PostScript driver by default, or a model per printer from GPWarden's template. Verified against Windows 11 for the same GPOs (TCP/IP computer printer, user's shared default printer) on RHEL 9 (FIPS) and 10.Other users see the queue's name in print dialogs (they cannot print to it). A printer that needs a vendor driver must be named in Printer drivers. Because queues are shared, a user's policy may only join a queue that prints to the same place and delete only what it added: it never redirects or removes the computer's printers or another user's (on Windows a user's connections cannot reach them either).
Certificate auto-enrollment VerifiedWindows enrolls through CryptoAPI and keeps keys in the machine's key store; Linux has no such store, and certmonger's AD support needs the CA's web enrollment services.GPWarden talks to the CA as Windows does: MS-ICPR over Kerberos-sealed RPC with the computer's ticket, templates and rights read from AD, PEM files under /etc/pki/gpwarden. The AD root CAs are trust anchors. Verified against Windows 11 for the same template on RHEL 9 (FIPS) and 10: same SAN (DNS from AD), EKU, validity, issuer. Users enroll the same way at sign-in and on refresh, with their own ticket, into ~/.cert/gpwarden and the NSS database browsers use; verified on RHEL 9 (FIPS) and 10 (subject and UPN from AD, chain to the AD root). Renewal (renewal period, Reenroll All Certificate Holders) is the MS-WCCE renewal request signed with the current key, new or same key per template; verified on RHEL 10 and RHEL 9 (FIPS): the CA records "Renewal" for GPWarden's PKCS#7 requests as for Windows 11's CMC request, and a user renewal is issued at once on a template that requires CA manager approval with Valid existing certificate, while a fresh request for the same user stays pending. RPC requests and replies of any size travel in fragments (verified with the protocol's minimum fragment size).Smart-card sign-in: the NTAuth CAs become SSSD's smart-card CA store, certificates map by UPN with the Smart Card Logon EKU as on Windows, authselect's smart-card features follow Require smart card and Smart card removal behavior, turned on by policy (Windows allows it by default; on RHEL it changes the sign-in stack); verified that SSSD loads the configuration and authselect's check passes, and that removal restores the previous state; a PIN sign-in end to end needs a removable reader (SSSD ignores software tokens), not available in the lab; a request a CA manager must approve is kept with its key and collected at a later refresh once issued, as Windows' auto-enrollment does (verified: pending, still pending without a second request, issued after certutil -resubmit). A user certificate for Windows-style roaming (Credential Roaming) has no counterpart; user enrollment was not compared side by side with a Windows sign-in in the lab.
Disk encryption recovery in AD VerifiedBitLocker writes recovery passwords to AD as msFVE-RecoveryInformation objects; RHEL's LUKS has no directory escrow, and help desk works from the computer's BitLocker Recovery tab.GPWarden adds a recovery keyslot whose passphrase is a BitLocker-format recovery password and writes the same object Windows writes (name, recovery GUID, volume GUID = LUKS UUID, password), with the computer's own Kerberos identity and default AD rights. Unattended because it unlocks through the volume's Clevis binding. Verified on RHEL 9 (FIPS, PBKDF2) and 10: the password read from AD opens the volume; objects sit next to Windows 11's.No key package (msFVE-KeyPackage) since LUKS has no equivalent. Rotation after use (GPWarden.admx, like Intune's Configure recovery password rotation) recognizes use from the boot journal: an unlock not made by Clevis means a typed passphrase, which may also be an administrator's own passphrase (rotating then is harmless); verified on RHEL 10 with a Tang-bound volume, the password read from AD typed at the prompt, rotated at the next refresh, the old password refused and its AD object deleted. Recovery objects escrowed by GPWarden before it recorded their DN stay in AD after rotation (a computer cannot list them); DEPLOYMENT.md gives the one-time PowerShell cleanup, verified in the lab; a volume without TPM2/Tang binding needs an administrator; Do not enable BitLocker until recovery information is stored has no counterpart because GPWarden does not encrypt volumes.
802.1X wired and wireless policies VerifiedWindows reads these policies from AD objects in the GPO (MS-GPWL), not SYSVOL; RHEL has NetworkManager profiles and no directory source.GPWarden reads the same objects and maps the embedded profiles (the netsh export format) to NetworkManager through nmcli. Wired settings go onto the existing ethernet connections as Windows applies them to every wired interface. Verified: a policy written to the spec is applied by Windows 11 ("Group Policy Profile"); after a plain policy refresh RHEL 9 (FIPS) and 10 authenticate on an ethernet port (hostapd as switch) against NPS on the DC, which logs access granted (event 6272) for host/ with their auto-enrolled certificates; on Wi-Fi (simulated radios, hostapd as access point relaying to NPS) both hosts join the WPA3-Enterprise machine network with EAP-TLS, and a domain user joins the hidden WPA2-Enterprise network with PEAP-MSCHAPv2 on RHEL 10 (NPS: granted as user@realm); a wrong server name is refused; removal restores the profiles.PEAP with the computer's password is impossible (the machine password never leaves the join); PEAP-MSCHAPv2 is impossible in FIPS mode (MD4/DES); smart cards and PEAP-TLS verified on RHEL 10: a user's certificate on a PKCS#11 token (SoftHSM standing in for a smart card) authenticated with EAP-TLS against NPS (granted, Smart Card or other certificate), and PEAP-TLS for the user (card) and the computer against hostapd's EAP server; and PEAP-TLS against NPS for a user with an auto-enrolled certificate (granted by the users' policy, authentication PEAP, inner method Smart Card or other certificate; NPS takes that inner method only from its console); not observed: a hardware reader (pcscd path allowed by the SELinux policy, untested); the smart card is looked for at sign-in, as Windows binds it when connecting (a card inserted later is used from the next sign-in); pre-shared Wi-Fi keys are not in the policy; applying a change re-activates the connection, a short interruption (a port without authenticator: Windows' 15 s wait); Windows 11 Wi-Fi parity not observed (lab has no wireless adapter); a per-user network connects from the user's desktop session (seat), as GNOME does.
Computer Group Policy Preferences: Environment, Ini Files, Services, Scheduled Tasks VerifiedWindows' preference extensions act on Windows objects (the system environment, ini files, the Service Control Manager, Task Scheduler).Each item becomes its RHEL counterpart with Windows' semantics: actions, removal when no longer applied (otherwise the setting stays, as on Windows), apply once, item-level targeting. Services map to systemd (enable / disable / mask, start / stop / restart, recovery as Restart= and start limits); tasks to systemd services and timers (calendar, repetition, startup, logon, registration; run as SYSTEM, a service account, a domain user or the user who logs on). A schedule systemd cannot express exactly (every n days or weeks) is reported rather than approximated. Verified on RHEL 10 and RHEL 9 (FIPS, SELinux enforcing) with the GPMC XML of all four extensions; Windows 11 applies the same GPO identically where the item is meaningful for it (environment, the SYSTEM and logon tasks).Linux names and paths in GPMC fields; Log on as for services and User variables in Computer Configuration are reported. Ini files only under /etc (SELinux).
Command-level and time-limited elevation VerifiedWindows Group Policy grants only full administrators (Restricted Groups, Local Users and Groups); per-command elevation needs Intune EPM or a third-party tool; time-limited admins use AD's time-bound group membership.Full administrators as on Windows (sudo + polkit, by group, checked when sudo runs). Per-command and time-limited rights: SSSD's existing support for sudoRole objects in AD, switched on by GPWarden's Use sudo rules from Active Directory (no GPWarden rule format). Verified on RHEL 10: a rule with a start time became usable within a minute of it, one with an end time was refused within a minute after it. Time-bound membership in a group granted Administrators: AD leaves such memberships out of tokenGroups (SSSD's default source), so GPWarden has SSSD use memberOf in a forest with the feature, reads each member's remaining time (LDAP_SERVER_LINK_TTL) and refreshes SSSD's cache for that user when it runs out. It also watches those groups with AD's change notifications, so a membership added between refreshes is known within seconds: before that, a member added after the last refresh and looked up by SSSD kept the right until SSSD's cache expired (seen in the demo domain on RHEL 9). Measured on RHEL 10: without this the right ended 44 minutes after AD dropped the membership; with it, 10 seconds after (RHEL 9 with FIPS: 9 seconds). sudo rules are read only from the container named in the policy, so creating objects elsewhere in AD does not grant rights.A session already open keeps the groups it started with until sign-out, as a Windows logon token does; reading groups from memberOf costs SSSD more lookups in very large directories. The watch holds one LDAP connection per workstation to a DC (renewed every 15 minutes; a connection that died silently is noticed at the renewal, and a DC that refuses notifications is asked every 5 minutes; tested by cutting the connection: the watch fell back at once, read a membership added meanwhile 5 minutes later, reconnected, and ended it on time). sudo rules in AD need the sudo schema extension.
Chrome and Edge Group Policy VerifiedWindows browsers read their policies from the registry and type them with their built-in schema; on Linux they read JSON files and reject a wrongly typed value.GPWarden types every value from the vendors' ADMX in the Central Store (what GPMC shows the admin), so no copy of the schema ships with GPWarden and new browser versions work when the admin updates the templates. Verified with Chrome 158 and Edge 158 on RHEL 10: every policy from a GPO (switches, numbers, enumerations, text, lists, JSON dictionaries, recommended) shows Status OK in chrome://policy / edge://policy; Windows 11 receives the identical set from the same GPO.Per-user (HKCU) browser policies cannot apply on Linux and are reported; a policy missing from the templates is typed from the registry (a DWORD becomes a number) and named in the RSoP.
Time from the domain hierarchy VerifiedWindows domain members take time from a DC (W32Time, NT5DS) and use only that source. RHEL uses chrony, which weighs several sources and drops one whose root distance exceeds 3 s.chrony gets the located DC (prefer) and the domain's DCs as a pool; Microsoft's Windows Time policies (NTP server list, AllSync, NoSync, client disabled) map one to one. Existing sources in chrony.conf are kept, not deleted.A badly synchronized DC is outvoted or ignored instead of followed; a PDC on its own CMOS clock (large dispersion) is ignored, where Windows would follow it.
Slow-link detection VerifiedWindows measures link speed and skips some extensions on slow links.Windows always processes Registry and Security settings, even on slow links, and those are what GPWarden's managers apply. The extensions Windows can skip (software installation, folder redirection, by default scripts) are not implemented or don't apply.Scripts run on slow links too. Measuring link speed with Windows' thresholds becomes relevant if software installation is added.

SELinux

DifferenceRationaleGPWarden's solutionRisk
gpwardend runs confined VerifiedWindows has no equivalent of SELinux; RHEL runs Enforcing by default and corporate approval expects services to be confined.The gpwarden-selinux package (pulled in automatically on targeted-policy systems) runs gpwardend in gpwardend_t with its own types for /var/lib/gpwarden, /run/gpwarden and the unit. It allows what Group Policy needs and no more: AD as the computer (keytab, Kerberos, LDAP, SMB, RPC), the policy-owned configuration it writes (dconf and /etc/issue.d under etc_t, udev rules, its systemd drop-in), chpasswd in passwd_t for LAPS, logind/systemd over D-Bus, and reading process state for LAPS sign-out. Group Policy scripts start through /usr/bin/env in their own transient units and run unconfined (unconfined_service_t), like Windows scripts running as SYSTEM. Login services (sshd, GDM, login, cockpit) and user domains may connect to the control socket (gpwarden_stream_connect()). Verified Enforcing on RHEL 9 and 10 with lab/hetzner/selinux-exercise.sh, reboots and the parity check: no denials.Without the module, on an Enforcing system pam_gpwarden inside SSH and GDM logins could not reach gpwardend, so user policy did not apply at those logons (found while building the module). Writing etc_t is broad, because dconf databases and /etc/issue.d carry the generic label; relabelling system paths would break their other readers.

Cryptography and libraries

DifferenceRationaleGPWarden's solutionRisk
One crypto source: RHEL VerifiedBundled crypto would be ours to patch and certify.System OpenSSL and MIT Kerberos. SYSVOL through GPWarden's own read-only SMB 3.1.1 client: Kerberos via system GSSAPI, SHA-512 pre-authentication integrity, every message after sign-in encrypted (AES-GCM/CCM from OpenSSL), the server's signed session response verified; checked against Microsoft's published test vectors and on the wire. Bundled crypto crates are banned in CI.No exceptions remain: ldap3 pulled ring in only for the TLS channel-binding hash of its rustls path, which GPWarden does not use; third_party/ldap3 ties it to that feature (manifest change, offered upstream). LDAP traffic is sealed by system MIT Kerberos (verified with the DC requiring LDAP signing).
Protocol code from upstream VerifiedMS-RPCE/GKDI message encoding comes from Devolutions' MIT/Apache crates, pinned by revision.Encoding only, no crypto; the copied files carry their source revision and license.We must review upstream diffs before bumping the pin (documented in deny.toml).
Questions about this page? Ask in the chat or write to support@gpwarden.com.