realmd/adcli cant connect to domain
Submitted by pauld
Assigned to Stef Walter
Description
Any solutions for Ubuntu 16.04?
Checked the OU on the WIndows Server using dsquery and it is matches the one specified in realmd.
Sep 09 14:19:00 LinuxBox realmd[4642]: * Using domain name: OurDomain.local Sep 09 14:19:00 LinuxBox realmd[4642]: * Using domain name: OurDomain.local Sep 09 14:19:00 LinuxBox realmd[4642]: * Using computer account name: LinuxBox Sep 09 14:19:00 LinuxBox realmd[4642]: * Using computer account name: LinuxBox Sep 09 14:19:00 LinuxBox realmd[4642]: * Using domain realm: OurDomain.local Sep 09 14:19:00 LinuxBox realmd[4642]: * Using domain realm: OurDomain.local Sep 09 14:19:00 LinuxBox realmd[4642]: * Calculated computer account name from fqdn: LinuxBox Sep 09 14:19:00 LinuxBox realmd[4642]: * Calculated computer account name from fqdn: LinuxBox Sep 09 14:19:00 LinuxBox realmd[4642]: * Generated 120 character computer password Sep 09 14:19:00 LinuxBox realmd[4642]: * Generated 120 character computer password Sep 09 14:19:00 LinuxBox realmd[4642]: * Using keytab: FILE:/etc/krb5.keytab Sep 09 14:19:00 LinuxBox realmd[4642]: * Using keytab: FILE:/etc/krb5.keytab Sep 09 14:19:00 LinuxBox realmd[4642]: * Found computer account for LinuxBox$ at: CN=LinuxBox,OU=Group,OU=Division,OU=Computers,OU=Company,DC=OurDomain,DC=local Sep 09 14:19:00 LinuxBox realmd[4642]: * Found computer account for LinuxBox$ at: CN=LinuxBox,OU=Group,OU=Division,OU=Computers,OU=Company,DC=OurDomain,DC=local Sep 09 14:19:00 LinuxBox realmd[4642]: ! The computer account LinuxBox already exists, but is not in the desired organizational unit. Sep 09 14:19:00 LinuxBox realmd[4642]: ! The computer account LinuxBox already exists, but is not in the desired organizational unit. Sep 09 14:19:00 LinuxBox realmd[4642]: adcli: joining domain OurDomain.local failed: The computer account LinuxBox already exists, Sep 09 14:19:00 LinuxBox realmd[4642]: adcli: joining domain OurDomain.local failed: The computer account LinuxBox already exists, Sep 09 14:19:00 LinuxBox realmd[4642]: process exited: 4650 Sep 09 14:19:00 LinuxBox realmd[4642]: ! Failed to join the domain Sep 09 14:19:00 LinuxBox realmd[4642]: ! Failed to join the domain Sep 09 14:19:00 LinuxBox realmd[4642]: released daemon: current-invocation Sep 09 14:19:00 LinuxBox realmd[4642]: stopping service