text: Attach Ubuntu to Windows Domain via Active Directory (+ sudo) | A High-Tech Blech!
  Attach Ubuntu to Windows Domain via Active Directory (+ sudo)
  2011 December 7, Wednesday Serving, Ubuntu, WindowsJamesIsIn
  Further I added a domain group to the local sudo group by adding these lines to the /etc/sudoers file. You can also add a domain user. Just note the different formats below:
  %[domain.name]\\[group^name] ALL=(ALL) ALL
  [domain.name]\\[username]
  (If you manage to break your sudoers file, you can always use pkexec visudo -f /etc/sudoers to fix it.)
  Just add those two lines to the end of the file. The first line is just a comment line and could say something different. Replace those items in the square brackets with the appropriate information to your network. Groups, as you can see, are preceded by a percent sign while users are not. Any spaces should be replaced by carets.
  For the group I created in Active Directory to grant these sudo privileges (called Ubuntu Sudoers) I included Domain Administrators and a couple of individuals who would likely be using the Ubuntu box and need sudo rights. The combinations available should make this pretty flexible.
  For newer versions of Ubuntu you will need to enable a login space on the login screen. There are a number of ways, but this is nice and simple. Again open GEdit to edit a file.
  Then add this line to that file.
  You may be able to get the domain assumed (at login) using this method but there is more discussion here.
  gksudo gedit /etc/samba/lwiauthd.conf
  If that does not work, you can just use the domain@username format at the login screen.
  ← Random List of Useful Windows Utilities	Repairing Grub after Windows Breaks It →
  2 thoughts on "Attach Ubuntu to Windows Domain via Active Directory (+ sudo)"
  2017 January 12, Thursday at 12:46
  Here is another article (from June of 2016) on domain-joining Ubuntu machines which may have additional useful information: