** Description changed:
+ [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 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.
+ 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.
- Is it possible to backport the mentioned fix into 1.16.1/Bionic?
+ [Test Case]
- Thanks!
+ * 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
- [1] https://github.com/SSSD/sssd/pull/572
+ * 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
** Changed in: sssd (Ubuntu Bionic)
Assignee: (unassigned) => Eric Desrochers (slashd)
** Changed in: sssd (Ubuntu Bionic)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834507
Title:
Attempting to load sss.so in Bionic fails due to
SMB_IDMAP_INTERFACE_VERSION mismatch
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1834507/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs