[Samba] ldmap module rid messages using winbind
Richard Sharp
rsharp at stlawu.edu
Mon Apr 5 07:29:55 MDT 2010
I am running an Ubuntu 9.04 machine with kernel 2.6.28-16-server,
Samba v3.3.2 that uses winbind for authentication of users.
My log files are littered with messages like these every time a user
remotely mounts their home directory:
Apr 5 07:12:40 csfile smbd[15517]: pam_unix(samba:session): session
opened for user STLAWU\akwood06 by (uid=0)
Apr 5 07:12:40 csfile winbindd[3549]: [2010/04/05 07:12:40, 0]
winbindd/idmap.c:smb_register_idmap(149)
Apr 5 07:12:40 csfile winbindd[3549]: Idmap module rid already registered!
Apr 5 07:12:40 csfile winbindd[3549]: [2010/04/05 07:12:40, 0]
lib/module.c:do_smb_load_module(69)
Apr 5 07:12:40 csfile winbindd[3549]: Module
'/usr/lib/samba/idmap/rid.so' initialization failed:
NT_STATUS_OBJECT_NAME_COLLISION
Apr 5 07:12:40 csfile winbindd[3549]: [2010/04/05 07:12:40, 0]
winbindd/idmap.c:smb_register_idmap(149)
Apr 5 07:12:40 csfile winbindd[3549]: Idmap module rid already registered!
Apr 5 07:12:40 csfile winbindd[3549]: [2010/04/05 07:12:40, 0]
lib/module.c:do_smb_load_module(69)
Apr 5 07:12:40 csfile winbindd[3549]: Module
'/usr/lib/samba/idmap/rid.so' initialization failed:
NT_STATUS_OBJECT_NAME_COLLISION
Everything seems to work on the user end but I don't completely know
what I'm doing and I'm afraid I've misconfigured something. I've
included my smb.conf file below. Any help is appreciated.
Thank you,
Rich
smb.conf:
[global]
workgroup = STLAWU
server string = %h
netbios name = %h
security = ads
realm = STLAWU.LOCAL
encrypt passwords = true
obey pam restrictions = yes
client use spnego = yes
log file = /var/log/samba/%U.log
max log size = 500
#log level = 4
socket options = TCP_NODELAY SO_RCVBUF=16348 SO_SNDBUF=16348
local master = no
domain master = no
preferred master = no
dns proxy = no
load printers = no
printcap name = /dev/null
disable spoolss = yes
printing = bsd
show add printer wizard = no
template homedir = /home/stlawu/%u
template shell = /bin/bash
veto files = /.kde/.bash_history/.bash_logout/.bash_profile/.bashrc/.emacs/.gtkrc/.zshrc/.ssh/
veto oplock files = /*.xls/*.xlt/
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind nested groups = yes
idmap backend = rid:STLAWU=10000-1000000
idmap uid = 10000-1000000
idmap gid = 10000-1000000
allow trusted domains = no
store dos attributes = yes
unix extensions = yes
[homes]
comment = Home Directories
browseable = yes
writable = yes
create mask = 0700
force create mode = 0700
directory mask = 0700
force directory mode = 0700
inherit acls = yes
full_audit: syslog = 0
full_audit: log level = 0 vfs:10
#end smb.conf
More information about the samba
mailing list