[Samba] Slow login after samba upgrade

Max Serafini max at marigoldsandonions.com
Sun Jan 1 19:53:36 UTC 2023


Thanks.  Yeah, I had even put auth_audit and auth logs to 5.  Nothing stood
out to me, it all looked successful from the time the pw was entered.  Then
while hanging, there were no logs at all.
However if you look at the new post, all is good with 4.16.

On Sun, Jan 1, 2023 at 8:46 PM Michael Tokarev <mjt at tls.msk.ru> wrote:

> 01.01.2023 16:01, Max Serafini via samba wrpte:
> ..
>
> How about looking at the samba logs?  There should be something in
> there with the issues you observe. Maybe at log level 1 or 2, but
> I guess the default should already reveal something.
>
> It looks like there's a single problem which you're hitting from
> different angles.
>
> (you can remove (or move) all /var/log/samba/log.* stuff and restart
> samba to see fresh logs only).
>
> Thanks,  and Happy New Year!
>
> /mjt
>
> > Ramifications.
> > 1. Login is now extremely slow particularly on a terminal server running
> > Windows 2012 R2.  Before the upgrade login was instant.  Now it takes 2+
> > minutes.
> >
> > 2. On the 2012 server we installed AD management tools.  Using AD Users
> and
> > Computers, change domain controller function, the window is not
> responding
> > for about 2+ minutes, then the error:
> > 'The list of Domain Controllers for domain ... is unavailable because:
> The
> > RPC server is unavailable.'
> > Attempting the switch straight after the list populates the DC sometimes
> > changes quickly and some other times it shows:
> > 'Unable to connect to the Domain Controller because: The remote procedure
> > call failed and did not execute.'
> > Eventually it works.
> >
> > 3. netlogon sysvol share browsing.  In file explorer entering either
> > server's path, \\dc2 or \\dc3 it sits for 2+ minutes and then it says:
> > '\\dc3 is not accessible.  You might not have permission to use this
> > network resource.  Contact the administrator of this server to find out
> if
> > you have access permissions.  The remote procedure call failed.'
> > Re-entering the path, \\dc3 and the shares load just fine.
> >
> > If you could please advise.  Thank you.
>
>


More information about the samba mailing list