Activity log for bug #1834507

Date Who What changed Old value New value Message
2019-06-27 16:24:06 Pedro Principeza bug added bug
2019-06-27 17:19:07 Eric Desrochers tags sts
2019-06-27 17:19:14 Eric Desrochers nominated for series Ubuntu Bionic
2019-06-27 17:19:14 Eric Desrochers bug task added sssd (Ubuntu Bionic)
2019-06-27 17:20:43 Eric Desrochers sssd (Ubuntu): status New Fix Released
2019-06-27 17:20:46 Eric Desrochers sssd (Ubuntu Bionic): importance Undecided Medium
2019-06-27 17:36:34 Andreas Hasenack sssd (Ubuntu): status Fix Released Confirmed
2019-06-27 17:36:40 Andreas Hasenack sssd (Ubuntu): importance Undecided High
2019-06-27 17:50:59 Eric Desrochers sssd (Ubuntu): status Confirmed Fix Released
2019-06-27 17:51:02 Eric Desrochers sssd (Ubuntu Bionic): status New In Progress
2019-06-27 17:51:17 Andreas Hasenack sssd (Ubuntu Bionic): status In Progress Confirmed
2019-06-27 18:09:40 Eric Desrochers description When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported before [1], and apparently it made it into 1.16.2+ version of sssd, but not into 1.16.1, which is shipped with Bionic. Is it possible to backport the mentioned fix into 1.16.1/Bionic? Thanks! [1] https://github.com/SSSD/sssd/pull/572 [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global] log file = /var/log/samba/log.%m map to guest = Bad User max log size = 1000 panic action = /usr/share/samba/panic-action %d server role = standalone server server string = %h server (Samba, Ubuntu) syslog = 0 idmap config * : backend = sss idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap) Failed to register idmap module. The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, current SMB_IDMAP_INTERFACE_VERSION is 6. Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path) load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572
2019-06-27 18:11:03 Eric Desrochers sssd (Ubuntu Bionic): assignee Eric Desrochers (slashd)
2019-06-27 18:11:07 Eric Desrochers sssd (Ubuntu Bionic): status Confirmed In Progress
2019-06-27 18:11:16 Eric Desrochers bug added subscriber Eric Desrochers
2019-06-27 19:03:21 Eric Desrochers description [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global] log file = /var/log/samba/log.%m map to guest = Bad User max log size = 1000 panic action = /usr/share/samba/panic-action %d server role = standalone server server string = %h server (Samba, Ubuntu) syslog = 0 idmap config * : backend = sss idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap) Failed to register idmap module. The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, current SMB_IDMAP_INTERFACE_VERSION is 6. Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path) load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] *Cosmic and late are okay. *Xenial is also okay, as it doesn't uses version "6" samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572
2019-06-27 20:49:23 Eric Desrochers description [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] *Cosmic and late are okay. *Xenial is also okay, as it doesn't uses version "6" samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] *Cosmic and late aren't impacted. *Xenial is not impacted, as it doesn't uses version "6" ----- samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 ----- *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572
2019-07-03 13:12:37 Eric Desrochers sssd (Ubuntu Bionic): assignee Eric Desrochers (slashd)
2019-08-27 16:08:23 Eric Desrochers description [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] *Cosmic and late aren't impacted. *Xenial is not impacted, as it doesn't uses version "6" ----- samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 ----- *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] *Cosmic and late aren't impacted. *Xenial is not impacted, as it doesn't uses version "6" ----- samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 ----- *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 https://github.com/SSSD/sssd/commit/b78fced9263a2aa2d229879a868825aa7ebe19ac
2019-08-27 17:04:04 Eric Desrochers description [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] [Other informations] *Cosmic and late aren't impacted. *Xenial is not impacted, as it doesn't uses version "6" ----- samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 ----- *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 https://github.com/SSSD/sssd/commit/b78fced9263a2aa2d229879a868825aa7ebe19ac [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] This patch changed the Version to 6 for winbindd to loads the backend properly, I don't expect any problem, but if there is, we will need to fix then, cause winbindd needs requires version "6". # Feedback from other linux distro (arch linux): https://bugs.archlinux.org/task/56723 "sssd is stable and I could not identify any side-effects." [Other information] *Cosmic and late aren't impacted. *Xenial is not impacted, as it doesn't uses version "6" ----- samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 ----- *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 https://github.com/SSSD/sssd/commit/b78fced9263a2aa2d229879a868825aa7ebe19ac
2019-08-27 17:15:10 Eric Desrochers description [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] This patch changed the Version to 6 for winbindd to loads the backend properly, I don't expect any problem, but if there is, we will need to fix then, cause winbindd needs requires version "6". # Feedback from other linux distro (arch linux): https://bugs.archlinux.org/task/56723 "sssd is stable and I could not identify any side-effects." [Other information] *Cosmic and late aren't impacted. *Xenial is not impacted, as it doesn't uses version "6" ----- samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 ----- *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 https://github.com/SSSD/sssd/commit/b78fced9263a2aa2d229879a868825aa7ebe19ac [Impact] When attempting to load the sss.so module, on a Bionic box running samba-* on 4.7 and sssd-* 1.16.1, one sees the following in syslog: winbindd[13099]: load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' loaded winbindd[13099]: Failed to register idmap module. winbindd[13099]: The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5, winbindd[13099]: current SMB_IDMAP_INTERFACE_VERSION is 6. This issue has been reported upstream, and made it into 1.16.2+ version of sssd, but not into 1.16.1, which is currently found in Bionic. [Test Case] * sudo apt update * sudo apt install sssd winbind * Create this /etc/samba/smb.conf: [global]         log file = /var/log/samba/log.%m         map to guest = Bad User         max log size = 1000         panic action = /usr/share/samba/panic-action %d         server role = standalone server         server string = %h server (Samba, Ubuntu)         syslog = 0         idmap config * : backend = sss         idmap config * : range = 200000-2147483647 * sudo systemctl restart winbind Run this command to trigger the loading of the sss module. It will fail because, among other reasons, this machine is not part of a domain, but that's fine: # wbinfo --allocate-uid failed to call wbcAllocateUid: WBC_ERR_DOMAIN_NOT_FOUND Could not allocate a uid Now /var/log/samba/log.winbindd-idmap will contain: [2019/06/27 17:45:18.420790, 0] ../source3/winbindd/idmap.c:328(smb_register_idmap)   Failed to register idmap module.   The module was compiled against SMB_IDMAP_INTERFACE_VERSION 5,   current SMB_IDMAP_INTERFACE_VERSION is 6.   Please recompile against the current version of samba! [2019/06/27 17:45:18.421110, 0] ../lib/util/modules.c:173(load_module_absolute_path)   load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/idmap/sss.so' initialization failed: {Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request. This confirms the bug. [Regression Potential] This patch changed the Version to 6 for winbindd to loads the backend properly, I don't expect any problem, but if there is, we will need to fix then, cause winbindd needs requires version "6". A test (pre-sru) package has been tested by an impacted user: "winbind is now able to load the sss backend." # Feedback from other linux distro (arch linux): https://bugs.archlinux.org/task/56723 "sssd is stable and I could not identify any side-effects." [Other information] *Cosmic and late aren't impacted. *Xenial is not impacted, as it doesn't uses version "6" ----- samba-4.3.11+dfsg/source3/include/idmap.h: #define SMB_IDMAP_INTERFACE_VERSION 5 ----- *Upstream: https://pagure.io/SSSD/sssd/issue/3741 https://github.com/SSSD/sssd/pull/572 https://github.com/SSSD/sssd/commit/b78fced9263a2aa2d229879a868825aa7ebe19ac
2019-08-27 17:15:15 Eric Desrochers sssd (Ubuntu Bionic): assignee Eric Desrochers (slashd)
2019-08-29 12:58:47 Łukasz Zemczak sssd (Ubuntu Bionic): status In Progress Fix Committed
2019-08-29 12:58:50 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2019-08-29 12:58:53 Łukasz Zemczak bug added subscriber SRU Verification
2019-08-29 12:58:56 Łukasz Zemczak tags sts sts verification-needed verification-needed-bionic
2019-09-09 13:21:31 Eric Desrochers tags sts verification-needed verification-needed-bionic sts verification-done-bionic verification-needed
2019-09-11 16:15:56 Robie Basak removed subscriber Ubuntu Stable Release Updates Team
2019-09-11 16:15:54 Launchpad Janitor sssd (Ubuntu Bionic): status Fix Committed Fix Released