[Samba] Member server: Failed to join domain: failed to find DC for

Luis Peromarta lperoma at icloud.com
Sun Jun 9 11:10:44 UTC 2024


Magically, upon restoring from earlier snapshot, with the exact same config ,


root at member:~# net ads join -U"MAD\Administrator"
Password for [MAD\Administrator]:
Using short domain name -- MAD
Joined 'MEMBER' to dns domain 'mad.mater.int'
DNS Update for member.mad.mater.int failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL

root at member:~# net ads leave -U"MAD\Administrator"
Password for [MAD\Administrator]:
Deleted account for 'MEMBER' in realm 'MAD.MATER.INT'

root at member:~# net ads join -U"MAD\Administrator"
Password for [MAD\Administrator]:
Using short domain name -- MAD
Joined 'MEMBER' to dns domain 'mad.mater.int'
DNS Update for member.mad.mater.int failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL


I really haven’t a clue why it failed before.

LP
On Jun 9, 2024 at 11:53 +0100, Luis Peromarta via samba <samba at lists.samba.org>, wrote:
> I have restored the container from an early snapshot. This has all bits installed, but no config and not joined.
>
> I needed -U with a username.
>
> By the way my network is a /22
>
> root at member:~# samba-tool dns zonelist awing.mad.mater.int --reverse -U”MAD\luis"
> WARNING: Using passwords on command line is insecure. Installing the setproctitle python module will hide these from shortly after program start.
> Password for [MAD\luis]:
>  1 zone(s) found
>
>  pszZoneName : 0.168.192.in-addr.arpa
>  Flags : DNS_RPC_ZONE_DSINTEGRATED DNS_RPC_ZONE_UPDATE_SECURE
>  ZoneType : DNS_ZONE_TYPE_PRIMARY
>  Version : 50
>  dwDpFlags : DNS_DP_AUTOCREATED DNS_DP_DOMAIN_DEFAULT DNS_DP_ENLISTED
>  pszDpFqdn : DomainDnsZones.mad.mater.int
>
> LP
> On Jun 9, 2024 at 11:44 +0100, samba at lists.samba.org <samba at lists.samba.org>, wrote:
> >
> > samba-tool dns zonelist awing.mad.mater.int --reverse
> --
> 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