[Samba] Slow login after samba upgrade

Max Serafini max at marigoldsandonions.com
Sun Jan 1 20:41:16 UTC 2023


The two are headless boxes.  That entry is on both and that's a Ubuntu
default.  If it doesn't serve any purpose I don't have an issue in removing
it.

On Sun, Jan 1, 2023 at 9:36 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:

>
>
> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list