realmd generates wrong 'services' section in sssd.conf during joining to AD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
realmd (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
Jammy |
Confirmed
|
Low
|
Unassigned | ||
Kinetic |
Won't Fix
|
Low
|
Unassigned |
Bug Description
After joining to AD (`realm join DOMAIN`) in Ubuntu 20.04 `sssd-nss.socket` and `sssd-pam-
* sssd-nss.socket:
Misconfiguration found for the nss responder.
The nss responder has been configured to be socket-activated but it's still mentioned in the services' line in /etc/sssd/
Please, consider either adjusting your services' line in /etc/sssd/sssd.conf or disabling the nss's socket by calling:
"systemctl disable sssd-nss.socket"
* sssd-pam-
Misconfiguration found for the pam responder.
The pam responder has been configured to be socket-activated but it's still mentioned in the services' line in /etc/sssd/
Please, consider either adjusting your services' line in /etc/sssd/sssd.conf or disabling the pam's socket by calling:
"systemctl disable sssd-pam.socket"
If I comment out next line in `etc/sssd/
`services = nss, pam`
then sockets above are starting successfully.
This issue has place in Ubuntu 20.04:
> lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
Packages versions:
> apt-cache policy realmd sssd
realmd:
Installed: 0.16.3-3
Candidate: 0.16.3-3
Version table:
*** 0.16.3-3 500
500 http://
100 /var/lib/
sssd:
Installed: 2.2.3-3
Candidate: 2.2.3-3
Version table:
*** 2.2.3-3 500
500 http://
100 /var/lib/
Expected to happen:
`sssd-nss.socket` and `sssd-pam-
Happens instead:
`sssd-nss.socket` and `sssd-pam-
Steps to reproduce:
1. Ubuntu 20.04 clean install
2. `sudo apt install realmd sssd sssd-tools libnss-sss libpam-sss adcli samba-common-bin`
3. `sudo realm join DOMAIN.NAME`
Related branches
- Christian Ehrhardt (community): Approve
- Rafael David Tinoco (community): Approve
- Canonical Server Core Reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 3377 lines (+3187/-1)30 files modifieddebian/changelog (+63/-0)
debian/control (+2/-1)
debian/patches/0001-Add-missing-xsl-file-to-Makefile.am.patch (+29/-0)
debian/patches/0001-Find-NetBIOS-name-in-keytab-while-leaving.patch (+163/-0)
debian/patches/0001-Fix-issues-found-by-Coverity.patch (+37/-0)
debian/patches/0001-Fix-man-page-reference-in-systemd-service-file.patch (+27/-0)
debian/patches/0001-IPA-do-not-call-sssd-enable-logins.patch (+58/-0)
debian/patches/0001-LDAP-don-t-close-LDAP-socket-twice.patch (+43/-0)
debian/patches/0001-Set-NEWEST-flag-when-resolving-packages-with-Package.patch (+49/-0)
debian/patches/0001-Use-current-idmap-options-for-smb.conf.patch (+178/-0)
debian/patches/0001-doc-make-sure-cross-reference-ids-are-predictable.patch (+1502/-0)
debian/patches/0002-Change-qualified-names-default-for-IPA.patch (+105/-0)
debian/patches/0002-Use-startTLS-with-FreeIPA.patch (+76/-0)
debian/patches/0002-configure-do-not-inherit-DISTRO-from-the-environment.patch (+34/-0)
debian/patches/0002-tools-remove-duplicated-va_start.patch (+27/-0)
debian/patches/0003-discover-try-to-get-domain-name-from-hostname.patch (+71/-0)
debian/patches/0003-doc-extend-user-principal-section.patch (+77/-0)
debian/patches/0003-service-remove-dead-code.patch (+35/-0)
debian/patches/0003-service-use-net-ads-join-with-k-for-user-join-as-wel.patch (+34/-0)
debian/patches/0004-doc-fix-discover-name-only.patch (+28/-0)
debian/patches/0004-service-check-return-value-of-fcntl.patch (+38/-0)
debian/patches/0004-service-use-additional-dns-hostnames-with-net-ads-jo.patch (+169/-0)
debian/patches/0005-doc-add-see-also-to-man-pages.patch (+48/-0)
debian/patches/0005-service-avoid-dereference-of-a-null-pointer.patch (+41/-0)
debian/patches/0006-doc-extend-description-of-config-handling.patch (+106/-0)
debian/patches/0006-service-avoid-dereferencing-a-NULL-pointer.patch (+26/-0)
debian/patches/0007-service-use-kerberos-method-secrets-and-keytab.patch (+32/-0)
debian/patches/dont-add-services-line.patch (+41/-0)
debian/patches/install-libnss-winbind.patch (+19/-0)
debian/patches/series (+29/-0)
tags: | added: focal |
no longer affects: | realmd (Ubuntu Focal) |
no longer affects: | realmd (Ubuntu Groovy) |
Changed in realmd (Ubuntu): | |
status: | New → Triaged |
Changed in realmd (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | Triaged → In Progress |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Based on https:/ /ubuntu. com/server/ docs/service- sssd it shouldn't be doing that, so I'll this to our backlog. Andreas, you might know what's going on straight away. Could you please take a look?