Replace an AD over IWA directory that fails with Kerberos principal errors with AD over LDAP on a 3 node cluster in VMware Identity Manager
search cancel

Replace an AD over IWA directory that fails with Kerberos principal errors with AD over LDAP on a 3 node cluster in VMware Identity Manager

book

Article ID: 462730

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

In a 3-node VMware Identity Manager (vIDM) 3.3.7 cluster that uses an Active Directory (Integrated Windows Authentication) directory:

  • One or more connectors fail to join, or to stay joined to, the Active Directory domain with a Kerberos principal error.
  • Directory sync and domain user logins fail across the cluster. An IWA directory needs every connector joined to the domain (KB 428879), so one broken join affects the whole directory.
  • /opt/likewise/bin/domainjoin-cli query on an affected node shows that the node is not joined to the domain.
  • Joining the connector to the domain again does not fix the issue.

Environment

  • VMware Identity Manager 3.3.7, 3-node cluster
  • Directory type: Active Directory (Integrated Windows Authentication)
  • Managed by VMware Aria Suite Lifecycle 8.x

Cause

With an AD over IWA directory, each connector joins the domain automatically and authenticates with Kerberos. The join fails when Kerberos can't establish the connector's principal.

An Active Directory over LDAP directory doesn't require the connectors to be joined to the domain (KB 325468), so it doesn't depend on Kerberos.

Resolution

Replace the IWA directory with an AD over LDAP directory and leave the connectors unjoined from the domain.

Before you start:

  • Take a snapshot or backup of all three vIDM nodes. [If using Aria Suite Lifecycle: take the snapshot through Lifecycle.]
  • Record the current directory settings: base DNs, the groups and users synced, sync schedule, and attribute mappings. You will need them to recreate the directory.
  • Deleting the directory removes the users and groups it synced from vIDM.
  • Prepare the bind service account in AD. It must have email, firstName, and lastName populated, or sync fails silently (KB 402907).

Step 1: Remove each connector from the domain

  1. Log in to the vIDM console as the configadmin user.
  2. Go to Identity & Access Management > Setup > Connectors.
  3. For each of the three connectors, click Leave Domain and confirm.
  4. Optional: on each node, run /opt/likewise/bin/domainjoin-cli query to confirm it is no longer joined.

Step 2: Delete the IWA directory

  1. Go to Identity & Access Management > Directories.
  2. Select the AD over IWA directory and delete it.

Step 3: Create the AD over LDAP directory

  1. Go to Identity & Access Management > Directories > Add Directory > Add Active Directory over LDAP/IWA.
  2. Select Active Directory over LDAP.
  3. Choose the sync connector and enter the Bind DN and password of the service account prepared above.
  4. Click Test Connection and finish the wizard: domains, attribute mappings, groups, and users to sync.
  5. Do not join the connectors to the domain again.
  6. Associate all three connectors with the directory's identity provider (KB 428879, section 1).

Step 4: Verify

  • The directory sync completes without errors in Identity & Access Management > Directories.
  • Domain users can log in to vIDM and to the Aria products that use it.
  • connector.log shows no Kerberos or Bind DN errors.
  • If managed by Aria Suite Lifecycle: run Inventory Sync for vIDM and confirm it succeeds.