[Bug 1921374] Re: [SRU] New feature: Active Directory support

Launchpad Bug Tracker 1921374 at bugs.launchpad.net
Thu Jun 3 16:35:31 UTC 2021


This bug was fixed in the package ubiquity - 20.04.15.12

---------------
ubiquity (20.04.15.12) focal; urgency=medium

  [ Didier Roche ]
  [ Jean-Baptiste Lallement ]
  * AD integration for GTK UI (LP: #1921374)
  * Configure krb5 client so access to AD with GPO enabled works out of the
    box after installation.
  * Keep packages required for AD installed. When AD installation is selected
    we want to keep all the packages used to make it work and remove them
    otherwise.

 -- Jean-Baptiste Lallement <jean-baptiste.lallement at ubuntu.com>  Wed,
24 Mar 2021 17:05:48 +0100

** Changed in: ubiquity (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1921374

Title:
  [SRU] New feature: Active Directory support

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in ubiquity package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Focal:
  Fix Released
Status in ubiquity source package in Focal:
  Fix Released

Bug description:
  [Impact]

  This feature allows to join a machine to an Active Directory domain at
  installation time.

  It adds a check box in the user info stage, which once selected
  displays a page to enter the credentials to join the domain.

  It installs the required packages on the target filesystem and
  configures SSSD and Kerberos so it works on first boot.

  This feature also required:
  1. A change to the seed to include additional packages for AD connectivity.
  https://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu/commit/?id=a83c543f5fb98d4a539815b89b43cf9076c00283

  2. A change to livecd-rootfs to add the required dependencies via a
  chroot hook for the project ubuntu to workaround bug 1921862 in Focal.

  [Test Plan Ubiquity]
  Prerequisites:
  A network with an up and running AD controller, DHCP and DNS.

  1. Start the installer either from a live session or ubiquity-dm
  2. Proceed to the step "Who are you?"
  3. Enter the user and computer information. For the computer name, you must use the FQDN.
  4. Check box "Use Active Directory" and press continue.
  5. Enter the address of the Active Directory controller and credentials of the user allowed to add machines to the domain.
  6. Verify that the server is reachable by pressing "Test Connection".
  7. Once all the information has been entered and is valid, press "Continue" to proceed with the remaining usual steps of the installation.
  8. At the end of the installation you can reboot the machine and you are ready to log in as a user of the domain on first boot

  More information about initial installation on the ADSys' Wiki:
  https://github.com/ubuntu/adsys/wiki/2.-Prerequisites

  *Verification*
    - Log in as a user of the domain must succeed.
    - The home directory of the user must be created dynamically.

  [Test Plan livecd-rootfs]
  1. Build an image with the patched version of livecd-rootfs
  2. Compare the manifest to an image without the patch

  *Verification*
   - No package should be removed with the patched version
   - The following packages and their dependencies should be added: sssd, realmd, adcli, krb5-config

  
  [Where problems could occur]

  If the python code and debconf templates, Ubiquity won't start at all
  or the user info page will not be displayed. So it will highly visible
  and easy to diagnose.

  Otherwise, SSSD and Kerberos may not be configured correctly and will
  prevent login as an AD user. In this case, we still keep the local
  user and it is possible to log in and diagnose and fix the issue.

  [Other Info]
  Built and tested on latest focal daily image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1921374/+subscriptions



More information about the foundations-bugs mailing list