Hoary Samba idmap_rid.so Error
by
Herbert Straub
—
last modified
2008-03-23 11:30
—
filed under:
BugSolved
The samba package doesn't containing the idmap_rid.so
Error Description
The Samba package doesn't containing the idmap_rid.so shared library and cannot be used with the idmap backend. For details see the configuration and the logfile below.
Solution:
Append --with-shared-modules=idmap_rid to the configure command and add usr/lib/samba/idmap/idmap_rid.so to winbind.files.
Ubuntu Bugzilla Entry
Fixed (2006-01-03) - See BugNr 12797
The Debian Bugtracking system contains also a Wishlist bug, see BugNr 284681 Details
Configuration file '/etc/samba/smb.conf':
workgroup = MYDOMAIN
realm = MYDOMAIN.AT
idmap uid = 10000-100000000
idmap gid = 10000-100000000
enable rid algorithm = yes
algorithmic rid base = 10000
idmap backend = idmap_rid:MYDOMAIN=10000-100000000
template shell = /bin/bash
template homedir = /home/%D/%U
winbind enum users = yes
winbind enum groups = yes
winbind separator = +
security = ads
password server = my.password.server.fqdn
dns proxy = yes
client schannel = no
server schannel = no
winbind nested groups = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
allow trusted domains = no
Logfile log.windbindd containing:
[2005/07/15 13:10:44, 5] lib/gencache.c:gencache_init(59)
Opening cache file at /var/run/samba/gencache.tdb
[2005/07/15 13:10:44, 5] libsmb/namecache.c:namecache_enable(58)
namecache_enable: enabling netbios namecache, timeout 660 seconds
[2005/07/15 13:10:44, 5] sam/idmap.c:smb_register_idmap(91)
smb_register_idmap: Successfully added idmap backend 'ldap'
[2005/07/15 13:10:44, 5] sam/idmap.c:smb_register_idmap(91)
smb_register_idmap: Successfully added idmap backend 'tdb'
[2005/07/15 13:10:44, 10] sam/idmap_tdb.c:db_idmap_init(500)
db_idmap_init: Opening tdbfile /var/lib/samba/winbindd_idmap.tdb
[2005/07/15 13:10:44, 3] sam/idmap.c:idmap_init(132)
idmap_init: using 'idmap_rid' as remote backend
[2005/07/15 13:10:44, 5] lib/module.c:smb_probe_module(101)
Probing module 'idmap_rid'
[2005/07/15 13:10:44, 5] lib/module.c:smb_probe_module(112)
Probing module 'idmap_rid': Trying to load from /usr/lib/samba/idmap/idmap_rid
.so
[2005/07/15 13:10:44, 3] lib/module.c:do_smb_load_module(46)
Error loading module '/usr/lib/samba/idmap/idmap_rid.so': /usr/lib/samba/idmap
/idmap_rid.so: cannot open shared object file: No such file or directory
[2005/07/15 13:10:44, 0] sam/idmap.c:idmap_init(142)
idmap_init: could not load remote backend 'idmap_rid'

