[Samba] Winbind problem - "id: cannot find name for group ID"

Jeff Lopes jlopes at yamato.sytes.net
Thu Jun 19 20:25:45 GMT 2003


I've configured pam to use winbind for login authentication ... the
problem is that when I login with my domain user I get "id: cannot find
name for group ID 10004" ... 10004 should be "Domain Users" ... and when I
do getent groups|grep 10004 I can see this group... although when I do
getent group 10004 it returns nothing. Also, when home directories are
automatically being created it is simply using the gid instead of the
name. I am using Samba 3.0.0beta1 on RedHat 9.0.

Stuff that might matter:

/etc/samba/smb.conf
winbind separator = +
winbind cache time = 15
template shell = /bin/bash
template homedir = /home/%D/%U
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
security = domain
password server = *

/etc/pam.d/login
#%PAM-1.0
auth       required     /lib/security/pam_securetty.so
auth       sufficient   /lib/security/pam_winbind.so
auth       sufficient   /lib/security/pam_unix.so use_first_pass
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    sufficient   /lib/security/pam_winbind.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_mkhomedir.so skel=/etc/skel
umask=0022
session    optional     /lib/security/pam_console.so

Thanks in advanced for the help.

Jeff



More information about the samba mailing list