3 ms·
> I know you can, in a very basic sense, such that one can log in. Log in, get group and netgroup membership, apply GPO based access control, access ssh keys,
by Spivak 6y ago
> I know you can, in a very basic sense, such that one can log in.
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 scale
Huh?!? 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.
- xorcist 6y ago> preseed files to automate the install, domain join, 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.
- Spivak 6y agoYes, but you can really tighten that privilege in practice. Yes having the ability to create computers in AD is potentially dangerous but in our deployments all the "AD Join Account" can do is create, delete, and reset computer passwords in one specific OU that new computers are moved out of once provisioned. We don't broadcast the join password and rotate it every so often but we also don't really care if it gets out.
- x86_64Ubuntu 6y agoHmm, I ran into the same issue too whereby I had a manual step to join the computer to the domain. I only had one computer to join, so I couldn't use anything like a real secrets solution, but I also didn't want the password to be in the Ansible files. Having an OU that computers are provisioned in, and then moved out of later on would have help me a lot.
- merb 6y agowith azure ad (even hybrid) you can let your oem make a oem autopilot domain join, thus it will be registered even bevore you have the device.