[Samba] Upgrading samba DC with "DC Rejoin" fails "Failed to setup database for BIND, AD based DNS cannot be used"
maillist at henningkessler.de
Thu Dec 9 06:55:30 UTC 2021
Sorry, that was indeed a typo. I must have overseen the “de”.
My real domain is hkint.de and the naming context is therefor “DC=HKINT,DC=DE”
Send from a mobile device
> Am 08.12.2021 um 20:32 schrieb Rowland Penny via samba <samba at lists.samba.org>:
> On Wed, 2021-12-08 at 20:09 +0100, Henning Kessler via samba wrote:
>> I tried to upgrade one of my lab domain controlers running raspbian
>> buster with samba (Version 4.9.5-Debian) to Raspbian Bullseye with
>> samba Version 4.13.13-Debian. I tried to follow the wiki article (
>> ) as close as possible and tried the "DC rejoin" approach as I am
>> upgrading over several major releases.
>> Unfortunately the rejoining failed
>> sudo samba-tool domain join DOMAIN.int DC -U"DOMAIN\administrator" --
>> INFO 2021-12-08 16:55:22,835 pid:4874 /usr/lib/python3/dist-
>> packages/samba/join.py #107: Finding a writeable DC for domain
>> INFO 2021-12-08 16:55:22,874 pid:4874 /usr/lib/python3/dist-
>> packages/samba/join.py #109: Found DC dc01.DOMAIN.int
>> Password for [DOMAIN\administrator]:
>> INFO 2021-12-08 16:55:29,005 pid:4874 /usr/lib/python3/dist-
>> packages/samba/join.py #1543: workgroup is DOMAIN
>> INFO 2021-12-08 16:55:29,006 pid:4874 /usr/lib/python3/dist-
>> packages/samba/join.py #1546: realm is DOMAIN.int
>> Adding CN=DC02,OU=Domain Controllers,DC=DOMAIN,DC=de
> You are using 'DOMAIN.int' as the dns domain, but your default naming
> context is 'DC=DOMAIN,DC=de', which would mean a dns domain of
> 'DOMAIN.de', was this a typo ?
> If it was, did you demote the old DC before trying to re-add it ?
> 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