[Samba] winbind and getent

John Stile john at stilen.com
Wed Jul 29 09:58:36 MDT 2009

On Wed, 2009-07-29 at 22:33 +1000, tsg-samba wrote:
> Hi Volker,
> Yes  in smb.conf i have:
>         winbind enum users = Yes
>         winbind enum groups = Yes

getent Shows nsswitch is correct, to resolve ADS users and groups.
  getent passwd 
  getent group

wbinfo Shows winbind is doing lookups from ADS
  wbinfo -u
  wbinfo -g 
  wbinfo -a mydomain+myuser%mypassword

kinit tests if kerberose can authenticate
  kinit myuser

If 'wbinfo -g' shows   MYDOMAIN+Domain Users,
maybe your share should have a line like: 
  valid users = @"MYDOMAIN+Domain Users"

More information about the samba mailing list