[Samba] Winbind crashes in 3.026a using rid

Jens Nissen jens.nissen at gmx.net
Fri Oct 26 10:58:17 GMT 2007


Winbind 3.026a crashes when reading out user information with wbinfo
using the idmap/rid module.
The tdb module works without crash (tested by exchanging the uncommented
and commented lines in the following fragment from smb.conf).

I configured rid as follows:
[global]
#  idmap uid=1000-60000
#  idmap gid=1000-60000
idmap domains=TRUSTEDDOMAINS
idmap config TRUSTEDDOMAINS:readonly=yes
idmap config TRUSTEDDOMAINS:backend=rid
idmap config TRUSTEDDOMAINS:default=yes
idmap config TRUSTEDDOMAINS:base rid=1000
idmap config TRUSTEDDOMAINS:range=1000 - 60000

In the log (level 10) I find the last lines before winbindd dies:

[2007/10/26 12:50:27, 10] nsswitch/winbindd_cache.c:wcache_save_user(867)
  wcache_save_user: S-1-5-21-1214440339-113007714-839522115-2111
(acct_name vx889)
[2007/10/26 12:50:27, 10] nsswitch/idmap_util.c:idmap_sid_to_uid(105)
  idmap_sid_to_uid: sid = [S-1-5-21-1214440339-113007714-839522115-3222]
[2007/10/26 12:50:28, 5] nsswitch/idmap.c:smb_register_idmap_alloc(216)
  Successfully added idmap alloc backend 'ldap'
[2007/10/26 12:50:28, 5] nsswitch/idmap.c:smb_register_idmap(163)
  Successfully added idmap backend 'ldap'
[2007/10/26 12:50:28, 5] nsswitch/idmap.c:smb_register_idmap_alloc(216)
  Successfully added idmap alloc backend 'tdb'
[2007/10/26 12:50:28, 5] nsswitch/idmap.c:smb_register_idmap(163)
  Successfully added idmap backend 'tdb'
[2007/10/26 12:50:28, 5] nsswitch/idmap.c:smb_register_idmap(163)
  Successfully added idmap backend 'passdb'
[2007/10/26 12:50:28, 5] nsswitch/idmap.c:smb_register_idmap(163)
  Successfully added idmap backend 'nss'
[2007/10/26 12:50:28, 1] nsswitch/idmap.c:idmap_init(365)
  Initializing idmap domains
[2007/10/26 12:50:28, 5] lib/module.c:smb_probe_module(108)
  Probing module 'rid'
[2007/10/26 12:50:28, 5] lib/module.c:smb_probe_module(119)
  Probing module 'rid': Trying to load from /lib/idmap/rid.so
/sbin/winbindd: symbol lookup error: /lib/libdl.so.2: undefined symbol:
_dl_catch_error

# ls -Al /lib/idmap/rid.so
-rwxr-xr-x    1 root     root        12185 Oct 26 11:22 /lib/idmap/rid.so

What is additionally strange and annoying: I had to compile rid manually
(with 'make lib/rid.so'), the build process simply forgets to compile or
install rid.so. Are there any other shared libraries which I have to
compile and install manually? I could not find any documentation about this.


More information about the samba mailing list