Skip to main content

Join AD

(2019-11-28)

Problem

# realm -v -U dave join mydomain.local
[...]
 ! Couldn't create computer account: CN=NETMAN,CN=Computers,DC=mydomain,DC=local: 00002083: AtrErr: DSID-031519F7, #2:
        0: 00002083: DSID-031519F7, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att 90303 (servicePrincipalName):len 22
        1: 00002083: DSID-031519F7, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att 90303 (servicePrincipalName):len 48
[...]

Solution

This is caused because the computer needs to know its FQDN.

# hostnamectl set-hostname netman.mydomain.local

The realm join command should work now.

(Source)