[Bug 1794537] Re: net ads join crashes on error in DoDNSUpdate

Andreas Hasenack andreas at canonical.com
Thu Oct 18 18:43:33 UTC 2018


Can you elaborate a bit on how you are joining the domain, and the
output you are getting? The upstream bug and this one are not showing
that particular detail, they only say that "net ads join fails".

I'm on bionic and I'm using "net ads join -k", after having obtained a
ticket for the realm's Administrator.

Something like this:
root at bionic:~# kinit Administrator
Password for Administrator at LOWTECH.INTERNAL: 
root at bionic:~# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: Administrator at LOWTECH.INTERNAL

Valid starting     Expires            Service principal
10/18/18 18:40:14  10/19/18 04:40:14  krbtgt/LOWTECH.INTERNAL at LOWTECH.INTERNAL
	renew until 10/19/18 18:40:12
root at bionic:~# net ads join -k
Using short domain name -- LOWTECH
Joined 'BIONIC' to dns domain 'lowtech.internal'
root at bionic:~# echo $?
0

I can confirm in windows' "Active Directory Users and Computers" that
the computer record is there. This is a 2016 AD Server, btw.

At first I had a dns update error, like described in
https://wiki.samba.org/index.php/Troubleshooting_Samba_Domain_Members#No_DNS_domain_configured._Unable_to_perform_DNS_Update.

I then added the fqdn of this host to /etc/hosts and repeated the join,
and now it works. And DNS is working too.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1794537

Title:
  net ads join crashes on error in DoDNSUpdate

Status in samba:
  Unknown
Status in samba package in Ubuntu:
  Fix Released
Status in samba source package in Bionic:
  Triaged

Bug description:
  Hi,

  Could you backport this bug fix in bionic please? There is a patch
  from upstream in the samba's bugzilla:
  https://bugzilla.samba.org/show_bug.cgi?id=13440.

  Because of this bug, I'm unable to make my bionic server to join our
  AD domain.

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1794537/+subscriptions



More information about the foundations-bugs mailing list