[Samba] Enabling winbind idmap_hash module
marc3 at rechte.fr
Fri May 25 06:38:12 MDT 2012
I am using samba 3.5 (Red Hat Linux 6) which comes with idmap_hash plugin.
I have put the following in smb.conf:
workgroup = WORKGROUP
password server = *
security = domain
idmap backend = hash
idmap uid = 500-33554431
idmap gid = 500-33554431
winbind nss info = hash
winbind normalize names = yes
idmap_hash:name_map = /etc/samba/name_map.cfg
template shell = /bin/bash
winbind use default domain = false
winbind offline logon = no
winbind enum users = true
winbind enum groups = true
log level = winbind:3
An abstract of /etc/samba/name_map.cfg is:
I restarted winbind.
The problem is that the following command gives:
# getent group "WORKGROUP\Domain Admins"
Instead of something like:
The same problem with getent passwd.
I noticed that whatever value I put for idmap backend (event a xrong
value), it does not change anything nor produces any error message in log.
Thanks a lot
More information about the samba