[Samba] samba4 missing group membership with getent group

Rowland Penny rowlandpenny at googlemail.com
Fri Jun 21 03:12:26 MDT 2013


Hi, well yet another reason to use sssd instead of winbind. When I turned
on winbind in /etc/nsswitch.conf on my test S4 server, I get:

id user
uid=3001106(HOME\user) gid=20513(HOME\Domain Users)
groups=20513(HOME\Domain Users),21110(HOME\linuxusers)

getent group linuxusers
HOME\linuxusers:*:21110:

But when I turn sssd back on instead of winbind:

id user
uid=3001106(user) gid=20513(Domain Users) groups=20513(Domain
Users),21110(linuxusers)

getent group linuxusers
linuxusers:*:21110:user

Oh look, getent displays group users!

Also I would suggest forgetting using @group in smb.conf and use ACL's
instead.

Rowland


On 21 June 2013 09:36, <Philippe.Simonet at swisscom.com> wrote:

> Hi Steve
>
> <getent group TEST3\g1> give an empty result, and <getent group TEST3\\g1>
> with the same result as <getent group g1>, without user/group membership.
>
> in fact my problem goes further : shares access control (write list, ...)
> does not work for @g1, only with u1 ...
>
> Philippe
>
>
> > -----Original Message-----
> > From: samba-bounces at lists.samba.org [mailto:samba-
> > bounces at lists.samba.org] On Behalf Of steve
> > Sent: Friday, June 21, 2013 9:31 AM
> > To: samba at lists.samba.org
> > Subject: Re: [Samba] samba4 missing group membership with getent group
> >
> > On Fri, 2013-06-21 at 06:23 +0000, Philippe.Simonet at swisscom.com wrote:
> > > Hi Samba users
> >
> > >
> > > but <getent group>  does not return group/user membership :
> > > TEST3\g1:*:3000027:
> > >
> > > any advices ?
> >
> > It doesn't work for groups:(
> > use:
> > getent group TEST\g1
> >
> > hth
> > Steve
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list