[Samba] Slow login after samba upgrade

Rowland Penny rpenny at samba.org
Sun Jan 1 20:36:17 UTC 2023



On 01/01/2023 20:20, Max Serafini wrote:
> Sure, here you go!  The files though have been the same throughout.
> We use internal DNS.
> 
> _dc2_
> root at dc2:~# cat /etc/samba/smb.conf
> # Global parameters
> [global]
> dns forwarder = 8.8.8.8
> netbios name = DC2
> realm = MODOM.MARIGOLDSANDONIONS.COM <http://MODOM.MARIGOLDSANDONIONS.COM>
> server role = active directory domain controller
> workgroup = MODOM
> idmap_ldb:use rfc2307 = yes
> 
> [netlogon]
> path = /var/lib/samba/sysvol/modom.marigoldsandonions.com/scripts 
> <http://modom.marigoldsandonions.com/scripts>
> read only = No
> 
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No

Nothing wrong there.

> 
> root at dc2:~# cat /etc/hosts
> 127.0.0.1       localhost.localdomain                   localhost
> 127.0.1.1       dc2

Ah ha

Why do you have 'dc2' pointing to '127.0.1.1' ?

I suggest you remove whatever requires the '127.0.1.1' (netplan, network 
manager, ????), you don't need it and it could be what is causing your 
problem.

Rowland




More information about the samba mailing list