[Samba] Problem with Winbind and groups

dj at 4ict.com dj at 4ict.com
Tue Jan 7 08:15:01 GMT 2003


On Mon, 6 Jan 2003, Jennifer Fountain wrote:

> ./wbinfo -g - i get a listing of all my domain groups
> ./wbinfo -r jfountain - i get all the groups gid
>
> but if i type
> groups jfountain
>
> i only get domain admins
>
> nsswitch.conf
>
> passwd:  files winbind
> group: files winbind

Looks OK.

> samba config file
>
> winbind uid = 40000-50000
> winbind gid = 40000-50000
> template homedir = /home/%U
> shell = /usr/bin/ksh
> winbind separator = +
> winbind cache time = 300
> winbind use default domain = Yes

Also looks OK.

> I am going crazy! why can't i get a listing of all my groups when i type groups userid???

Could you verify with "getent passwd" and "getent group" if the winbind
nss link is really working. And with the getent commands you can also see
the exact names that winbind has given to the users and groups.

If you domain contains a large number of users and/or groups you could try
setting the winbind enumerate options to no. But I don't think that it
would help it this case.

Kind regards,
Tim Verhoeven

-- 
===========================================================================
Tim Verhoeven
                                Linux & Open Source Specialist
GSM : 0496 / 693 453                          + e-business solutions
Email : dj at 4ict.com                           + consulting
URL : www.sin.khk.be/~dj/                     + Server consolidation
===========================================================================




More information about the samba mailing list