Quick test case, to be used in the sru template later on: 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. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs