[Samba] getent group by name fails

Lee Allen lee at leecallen.com
Fri Oct 11 13:10:23 MDT 2013


Those don't work for me:
getent group "domain users"
getent group "Domain Users"
getent group "Domain\ Users"
all fail, returning 2

I will look into sssd


On Fri, Oct 11, 2013 at 2:36 PM, Rowland Penny
<rowlandpenny at googlemail.com>wrote:

> 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
>
>


-- 
*Lee Allen*
email: lee at leecallen.com
bus: (404) 698-1801
home: (716) 773-2326
cell: (716) 880-0854
fax: (716) 408-8844


More information about the samba mailing list