Could not join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli
Couldn't join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli
root@HPUX:~# realm join --user=domainuser@windows.local windows.local -v
* Resolving: _ldap._tcp.windows.local
* Resolving: windows.local
* Performing LDAP DSE lookup on: 192.168.20.24
* Successfully discovered: windows.local
Password for domainuser@windows.local:
* Unconditionally checking packages
* Resolving required packages
! Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli
realm: Couldn't join realm: Necessary packages are not installed:
root@HPUX:~# apt-get install sssd-tools sssd libnss-sss libpam-sss adcli
Reading package lists... Done
Building dependency tree
Reading state information... Done
adcli is already the newest version (0.8.1-1).
libnss-sss is already the newest version (1.13.4-1ubuntu1.7).
libpam-sss is already the newest version (1.13.4-1ubuntu1.7).
sssd is already the newest version (1.13.4-1ubuntu1.7).
sssd-tools is already the newest version (1.13.4-1ubuntu1.7).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Workaround for the issue :-
Adding command --install=/ to the end of the join command
root@HPUX:~#realm join --user=domainuser@windows.local windows.local --install=/
root@HPUX:~# realm join --user=domainuser@windows.local windows.local -v
* Resolving: _ldap._tcp.windows.local
* Resolving: windows.local
* Performing LDAP DSE lookup on: 192.168.20.24
* Successfully discovered: windows.local
Password for domainuser@windows.local:
* Unconditionally checking packages
* Resolving required packages
! Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli
realm: Couldn't join realm: Necessary packages are not installed:
root@HPUX:~# apt-get install sssd-tools sssd libnss-sss libpam-sss adcli
Reading package lists... Done
Building dependency tree
Reading state information... Done
adcli is already the newest version (0.8.1-1).
libnss-sss is already the newest version (1.13.4-1ubuntu1.7).
libpam-sss is already the newest version (1.13.4-1ubuntu1.7).
sssd is already the newest version (1.13.4-1ubuntu1.7).
sssd-tools is already the newest version (1.13.4-1ubuntu1.7).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Workaround for the issue :-
Adding command --install=/ to the end of the join command
root@HPUX:~#realm join --user=domainuser@windows.local windows.local --install=/
Comments