Doesn't update /etc/nsswitch.conf when using winbind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Low
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
realmd is not updating /etc/nsswitch.conf with "winbind" when using --client-
This is configurable per distro, and the debian configuration doesn't specify a method to do this:
service/
[commands]
# Various pam and nss plugins are automatically configured when
# installed on debian. So just stub them out.
winbind-
winbind-
sssd-enable-logins =
sssd-disable-logins =
For the sssd case, it's correct to remain empty because the sssd packages themselves (libnss-sss specifically) update /etc/nsswitch.conf upon installation. But libnss-winbind doesn't.
One could argue that it's libnss-winbind that should update /etc/nsswitch.conf upon installation, in which case this bug should be against that package. That would be better solved on the debian side first.
Status changed to 'Confirmed' because the bug affects multiple users.