[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
Server, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1794537
Title:
net ads join crashes on error in DoDNSUpdate
To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1794537/+subscriptions
More information about the Ubuntu-server-bugs
mailing list