[Samba] Failing to join existing AD as DC
Alexander Harm
contact at aharm.de
Thu Aug 15 16:22:15 UTC 2019
Also a lot of DNS errors in the logs
[2019/08/15 18:19:02.269873, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: File “/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py”, line 177, in _run [2019/08/15 18:19:02.269893, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: return self.run(args, kwargs) [2019/08/15 18:19:02.269911, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: File “/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py”, line 945, in run [2019/08/15 18:19:02.269930, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: raise e [2019/08/15 18:19:02.291146, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: ERROR(runtime): uncaught exception - (9711, ‘WERR_DNS_ERROR_RECORD_ALREADY_EXISTS’) [2019/08/15 18:19:02.291238, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: File “/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py”, line 177, in _run [2019/08/15 18:19:02.291258, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: return self.run(args, **kwargs) [2019/08/15 18:19:02.291276, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: File “/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py”, line 945, in run [2019/08/15 18:19:02.291295, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) /usr/sbin/samba_dnsupdate: raise e [2019/08/15 18:19:02.305360, 0] ../source4/dsdb/dns/dns_update.c:330(dnsupdate_nameupdate_done) ../source4/dsdb/dns/dns_update.c:330: Failed DNS update - with error code 29
On 15. August 2019 at 18:11:01, Alexander Harm (contact at aharm.de) wrote:
That is what I did:
> ./samba-collect-debug-info.sh
> kinit: Client 'Administrator at SAMDOM.EXAMPLE.COM' not found in Kerberos database while getting initial credentials
> Wrong password, exiting now.
On 15. August 2019 at 18:05:54, Rowland penny via samba (samba at lists.samba.org) wrote:
On 15/08/2019 16:57, Alexander Harm via samba wrote:
> Sorry, am not used to a list that has real sender addresses…
>
>
>
> Samba is configured with internal DNS.
>
>
>
> # /etc/krb5.conf
>
> [libdefaults]
>
> default_realm = SAMDOM.EXAMPLE.COM
>
> dns_lookup_realm = false
>
> dns_lookup_kdc = true
>
>
> # /etc/ldap/ldap.conf
> TLS_CACERT /etc/ssl/certs/ca-certificates.crt
> TLS_REQCERT allow
>
> # /etc/resolv.conf
> domain samdom.example.com
> search samdom.example.com
> nameserver 10.88.80.88 # windows dc
>
>
> ./samba-collect-debug-info.sh
> kinit: Client 'Administrator at SAMDOM.EXAMPLE.COM' not found in Kerberos database while getting initial credentials
> Wrong password, exiting now.
>
> Never asks me for a password though...
>
can you please do what Louis asked, download this:
https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh
Run it on your potential DC and post the output in a post, this list
strips attachments.
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