[Samba] Long time before user shows up on member server

Harald Hannelius harald+samba at arcada.fi
Tue Feb 9 08:22:49 UTC 2021


On Mon, 8 Feb 2021, Rowland penny via samba wrote:

> On 08/02/2021 12:31, Harald Hannelius via samba wrote:
>> 
>> I have two Samba-servers acting as ROLE_ACTIVE_DIRECTORY_DC. When creating 
>> a new user I found out that it takes over 220 seconds before the user shows 
>> up using 'getent' in a member-server.
>> 
>> Is there a way to speed this up a bit?
>
> Just because 'getent' doesn't immediately show a user on a Unix domain member 
> doesn't mean it isn't available, but if you want to speed things up, run 'net 
> cache flush' before running getent.

Thanks, this helped a bit. The wait time for the user dropped to 116 
seconds. This might be just luck, I have to wait for some more samples to 
drop in.

No nscd running on the member-server.

-- 

Harald Hannelius | harald.hannelius/a\arcada.fi | +358 50 594 1020



More information about the samba mailing list