[Samba] Can't join new samba dc to existing dc
Rowland Penny
rpenny at samba.org
Sun Aug 18 09:37:03 UTC 2024
On Sat, 17 Aug 2024 16:21:14 +0700
fransnicho via samba <samba at lists.samba.org> wrote:
> Hi Rowland,
> Thanks for your response
>
> Is it ok to have 2 records on the
> CN=DC4,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=nicho,DC=com
> ?
Yes
>
> 20.04 comes with Samba 4.15.13, so where did you get the 4.19.5
> packages from ?
> deb http://ppa.launchpad.net/linux-schools/samba-latest/ubuntu focal
> main
Not sure I would rely on those.
>
> Please provide a list of the installed Samba packages.
> it at dc4:~$ sudo apt list samba --installed
> Listing... Done
> samba/focal,now 2:4.19.5+karoshi-1~linuxschools1+focal1 amd64
> [installed]
Try it like this:
dpkg -l | grep -E 'samba|winbind|krb5|smbclient|acl|attr|bind9'
>
> Probably not, but what does this command show:
> it at dc4:~$ sudo ldbsearch -H /var/lib/samba/private/sam.ldb -P -b
> 'cn=Schema,cn=Configuration,DC=nicho,DC=com' -s base objectVersion
> # record 1
> dn: CN=Schema,CN=Configuration,DC=nicho,DC=com
> objectVersion: 69
>
That's Windows Server 2012R2, so nothing wrong there.
This is what I suggest you do, install Debian Bookworm with Samba
from bookworm-backports (it is what I use, so I know it works), this
will get you Samba 4.20.4 .
Attempt to join this as a DC, if it works, it shows that there is
something wrong with the setup on the Ubuntu computer you are trying to
join now. If it fails in exactly the same way, then it would point to
either a fault in your existing DC, or a fault in the way you are
setting up the computer before the DC join. If the latter, then I can
talk you through the correct setup.
Rowland
More information about the samba
mailing list