[Samba] winbind: uid range is ignored

steve steve at steve-ss.com
Wed Aug 8 14:12:41 MDT 2012


On 08/08/2012 05:57 PM, Jonathan Buzzard wrote:
> On 08/08/12 16:41, steve wrote:
>> On 08/08/12 10:40, Jonathan Buzzard wrote:
>>> On 08/08/12 08:49, steve wrote:
>>>> On 08/08/2012 12:35 AM, Jonathan Buzzard wrote:
>>>>> steve wrote:
>>>>>> On 07/08/12 16:15, Jonathan Buzzard wrote:
>>>>>>> On 07/08/12 15:10, steve wrote:
>>>>>>>> On 04/08/12 22:06, NdK wrote:
>>>>>>>>> Il 04/08/2012 21:13, steve ha scritto:
>>>>>>>>>
>>>>>>>>
>>
>> nss-winbind seems slow. You can see the results of getent passwd
>> appearing one at a time. With nss-ldapd, the second time you do a
>> getent, it's instantaneous. Is there perhaps a cache I'm missing for
>> winbind? (I have nscd turned off)
>>
>
> Noting that nscd and winbind don't work properly together, the 
> settings I use are
>
> idmap cache time = 604800
> idmap negative cache time = 20
> winbind cache time = 600
>
> Performance seems good to me, especially once cached.
>
Much better. After e.g. 4 or 5 getent's it speeds up considerably. 
Presumably getent populates the cache?
Cheers,
Steve



More information about the samba mailing list