Public bug reported:

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: %U@MYDOMAIN.local
  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?

** Affects: adsys (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: adsys join realm

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

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/adsys/+bug/2064128/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to