Machines with 16 character or longer hostnames cause issues when joined to Active Directory

Solution Verified - Updated -

Issue

  • Hostname collisions with names longer than 15 characters in AD
  • When I join a machine to AD, the previous machine stops working
  • Random machines no longer able to authenticate users when joining other machines
  • Some of our RHEL machines hostnames match each other for the first 15 characters

Environment

  • Red Hat Enterprise Linux 7, 8, 9
  • Microsoft Active Directory
  • SSSD
  • Winbind
  • RealmD
  • ADCLI
  • Samba

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content