Ubuntu 20.04 fails to join Windows AD domain

Spread the love

I am new with Ubuntu / Linux.
I am attempting to join a Ubuntu 20.04 machine to a Windows domain using the following command:
sudo realm join -v ad1.example.com

This fails with the following error:
[email protected]:~# sudo realm join -v example.org
* Resolving: _ldap._tcp.example.org
* Performing LDAP DSE lookup on:
* Successfully discovered: example.org
Password for Administrator:
* Unconditionally checking packages
* Resolving required packages
* LANG=C /usr/sbin/adcli join –verbose –domain example.org –domain-realm EXAMPLE.ORG –domain-controller –login-type user –login-user Administrator –stdin-password
* Using domain name: example.org
* Calculated computer account name from fqdn: COMPUTER
* Using domain realm: example.org
* Sending NetLogon ping to domain controller:
* Received NetLogon info from: DC01.example.org
* Wrote out krb5.conf snippet to /var/cache/realmd/adcli-krb5-ZG1Ish/krb5.d/adcli-krb5-conf-dobebh
! Couldn’t get kerberos ticket for: [email protected]: New password cannot be zero length
adcli: couldn’t connect to example.org domain: Couldn’t get kerberos ticket for: [email protected]: New password cannot be zero length
! Failed to join the domain
realm: Couldn’t join realm: Failed to join the domain

Any help would be greatly appreciated.

X ITM Cloud News


Leave a Reply

Next Post

GPGError using DejaDub

Fri Sep 11 , 2020
Spread the love          I perform a DejaDub backup of my home directory every week and this has worked without problems for years now. I upgraded to 20.04 several months ago and the backups continued to work until this week. I perform regular software updates and so suspect one of those has […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware