Rowland penny
2021-Feb-08 12:52 UTC
[Samba] Long time before user shows up on member server
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. Rowland
Harald Hannelius
2021-Feb-09 08:22 UTC
[Samba] Long time before user shows up on member server
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