[Samba] getent group by name fails

Rowland Penny rowlandpenny at googlemail.com
Fri Oct 11 12:36:03 MDT 2013


On 11/10/13 19:06, Lee Allen wrote:
> Steve thank you for pointing that out.
>
> I made those changes and it does not effect the results.
> 'getent group UID' works
> 'getent group groupname' does not work, for the same group
>
>
> On Fri, Oct 11, 2013 at 12:25 PM, steve <steve at steve-ss.com> wrote:
>
>> Quite a bit missing here. Try:
>>
>> idmap config * : backend = tdb
>> idmap config * : range = 9800-9900
>> idmap config ALLENLAN : default = yes
>> idmap config ALLENLAN : schema mode = rfc2307
>> idmap config ALLENLAN : backend = ad
>> idmap config ALLENLAN : range = 10000-1000000
>>
>> HTH
>> Steve
>>
>>
>>
>
Hi, have you tried 'getent group Domain\ Users' ?

Mind you if all else fails, ditch winbind and use sssd

getent group
root:x:0:
.........
Domain Admins:*:27:
Domain Guests:*:65534:
Domain Users:*:100:
linuxusers:*:10000:

getent group 100
users:x:100:

getent group users
users:x:100:

getent group Domain\ Users
Domain Users:*:100:

getent group "Domain Users"
Domain Users:*:100:

getent group "domain users"

The last one is the only one that failed

Rowland



More information about the samba mailing list