installing Adsys package and running realm command does not install all missing packages

Bug #2064128 reported by Eric Reiss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
adsys (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I run "Realm discover" command it reports what packages are required. I rechecked this with a new install in a VM. The samba-common-bin package is not installed.

I run the "realm join" and the package is still not installed.

eric@Ubuntu-AD-22-04B:~$ sudo realm discover MYDC.MYDOMAIN.local
[sudo] password for eric:
MYDOMAIN.local
  type: kerberos
  realm-name: MYDOMAIN.LOCAL
  domain-name: MYDOMAIN.local
  configured: no
  server-software: active-directory
  client-software: sssd
  required-package: sssd-tools
  required-package: sssd
  required-package: libnss-sss
  required-package: libpam-sss
  required-package: adcli
  required-package: samba-common-bin
eric@Ubuntu-AD-22-04B:~$ sudo realm join MYDC.MYDOMAIN.local
Password for Administrator:
eric@Ubuntu-AD-22-04B:~$ sudo realm discover MYDC.MYDOMAIN.local
MYDOMAIN.local
  type: kerberos
  realm-name: MYDOMAIN.LOCAL
  domain-name: MYDOMAIN.local
  configured: kerberos-member
  server-software: active-directory
  client-software: sssd
  required-package: sssd-tools
  required-package: sssd
  required-package: libnss-sss
  required-package: libpam-sss
  required-package: adcli
  required-package: samba-common-bin
  login-formats: %<email address hidden>
  login-policy: allow-realm-logins
eric@Ubuntu-AD-22-04B:~$ sudo apt policy samba-common-bin
samba-common-bin:
  Installed: (none)
  Candidate: 2:4.15.13+dfsg-0ubuntu1.6
  Version table:
     2:4.15.13+dfsg-0ubuntu1.6 500
        500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     2:4.15.13+dfsg-0ubuntu1.5 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     2:4.15.5~dfsg-0ubuntu5 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
eric@Ubuntu-AD-22-04B:~$

The other packages are present prior to the realm join command, I did not show that here for brevity.

A developer indicated while discussing another bug that any required packages not installed should get installed during the "realm join" command.

I will quote what he said here:

"The realm command should be able to automatically figure out and install any required packages, for example if I run realm join to join a domain, the following packages will be automatically installed for me: 'sssd-tools', 'sssd', 'libnss-sss', 'libpam-sss', 'adcli'. So you shouldn't need to install them by hand."

So should not samba-common-bin get installed as well?

Tags: adsys join realm
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.