There is a GPO template. I think I'm in love.
There is a GPO template. I think I'm in love.
> Ubuntu machines can join an Active Directory (AD) domain at installation for central configuration.
This means it's now a ready-to-go functionality of the OS, and can be done simply without going to read a blog article on how to do it, post-setup.
> Ubuntu 21.04 adds the ability to configure system settings from an AD domain controller. Using a Group Policy Client, system administrators can specify security policies on all connected clients
And this means one can deploy Ubuntu machines on an Active Directory network at scale. Rather than hand-crafting one Ubuntu server that connects to your AD, ability to set policies with GPOs is the baseline to be able to say, deploy Ubuntu desktops to an entire department. Group Policy is the "pets vs cattle" difference in a Windows-based network.
Fedora did this few releases ago, as a part of the new-at-the time OOB wizard (you could use AD or FreeIPA, autodetected). Good to see that Ubuntu does similarly.
> can be done simply without going to read a blog article on how to do it, post-setup.
I never had a problem with setting up AD membership after-the-fact, except for three things that bothered me:
1) you still needed a local (root or sudoer) account in Ubuntu (but not in Fedora),
2) the setup didn't set up domain admins (or other group) neither as sudoers, nor as PolicyKit admins (these GUI prompts for admin password that you get from Gnome Software or Disks, or other privileged apps). These had to be done manually,
3) Files doesn't use AD Kerberos ticket when accessing file shares. It will just asks the user again; kind of defeats the point of Kerberos.
I'm really interested whether these are fixed.
Log in, get group and netgroup membership, apply GPO based access control, access ssh keys, apply sudo rules.
> after both setting up the OS, and then configuring the domain join
realmd join ad.example.com
Just the same as joining the domain on a Windows machine. Add-Computer -Domain ad.example.com
> Rather than hand-crafting one Ubuntu server that connects to your AD... And this means one can deploy Ubuntu machines on an Active Directory network at scaleHuh?!? Are you manually joining every machine to the domain and manually configuring every machine by hand? Even if you don't want to bother with config management like Chef/Puppet/Ansible for post-install config you at very least could have leveraged preseed files to automate the install, domain join, and applying your configs.
Like it's great that Ubuntu is supporting a subset of GPO but just like in the Windows world you can't configure everything with it and still need SCCM and Linux has solutions abound for that functionality.
Genuine question, wouldn't that require a kerberos ticket to work? Or at least some high privilege password that you might not want to keep around your preseed files? Bootstrapping trust is a tricky problem. Most that I've seen tend to go with some custom solution.
We don't broadcast the join password and rotate it every so often but we also don't really care if it gets out.
Having an OU that computers are provisioned in, and then moved out of later on would have help me a lot.
realm join mydomain.fqdn
Some distros defaulted to SMB (though which, I dont know), and occasionally the default configs of sssd.conf are not sufficient for your organization (such as if you want to use SSH keys via ldap, sudoers, dynamic dns, etc).But generally you were seeing a bunch of guides because they were referring to truly ancient distros.
The thing that’s changing with this release is the ability to support some GPOs with adsys. sssd has/had some basic gpo support as it relates to auth but not really for system config.
This definitely moves this into "I might introduce this to our environment" level.
The moment you learn about things like Ansible, and then ask "wait, what if I want to programatically make GPOs"-- and try to do so-- you realize just how horrendously bad they are.
Their permissions inheritance is terrible, so trying to do least-privelege / granular rights for admins is awful.
Their supercedence structure is confusing, overly complex, and naturally inclines people towards abusing "enforce" and "block" in the worst possible ways.
Un-screwing GPO inheritance messes is essentially impossible, so in production the answer is generally "create a new GPO" rather than "clean up the old mess".
And the settings structure itself is a terrible organizational mess; things "sort of" have a logical structure, except for the thousand odd exceptions. You can't set preferences on items that may not exist (such as disabling insecure services from old OSes) without generating a bunch of logged errors. You can't really target your GPO without some rather expensive client-side queries.
Logging what is actually happening (e.g. why did that printer mapping fail) is awful, which I have generally seen solved by writing one's own drive and printer mapping scripts.
The whole thing is a relic of the 90s that never quite got finished, polished, or maintained and mostly exists because it was "good enough" and there were no real alternatives. There still aren't, really, unless you want a third-party solution which is inevitably almost as big of a maintenance burden as GPO-- and GPO being free and mostly reliable makes it easy to just accept its awfulness.
I've yet to see something as comprehensive, navigable, and flexible. Sure, it can be horrendously complicated, especially if you chose not to clean up the old mess, but it's still... basically better than everything else.
Setting up SCCM is an exercise in hating your life but once you have the servers up it’s stupidly powerful.
In the Linux world — Ansible if you want push, Puppet if you want pull.
We have linux servers on our domain, specifically becaeuse there are certain things they do better than windows, and im a tool for a trade kinda guy.
But authentication and management of creds is a hard requirement.
The rest i can work with. We setup Ansible to handle much of the day to day config things. GPO"s might be nice.
At one and for years i was using PBIS, and whatever it was called before it was bought out, forked and named PBIS - https://github.com/BeyondTrust/pbis-open
I liked it because it kept GID/UID's consistent across the domain. But it was flaky for samba shares specifically ad group enumeration. There are paid add-ons that leverage GPO but never went that route.
More recently we are just leveraging SSSD/Chrony/Smb/Nmb to do the same, there are a few tweaks, but its solid. Its actually more stable now.
Some GPO's would be nice I supposed.
Does anyone know why I can find the admx and get going or is it reading the standard windows policies? Can't seem to find any articles/documentation.