Symptoms:
vcenter') to an FQDN (e.g., 'vcenter.domain.com') fails."Failed to reset machine account."Failed to add CN entries."yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():81 - INFO - Running command: /usr/lib/vmware-vmdir/bin/vdcresetMachineActCred -u administrator
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():99 - INFO - Command exited with exitcode : 32
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():101 - WARNING - Command failed with following error:
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():102 - WARNING - b'password: \n'
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():109 - INFO - Done running command
yyyy-mm-dd hh:mm:ss - pnid_utils-restart_services():1598 - ERROR - password:
yyyy-mm-dd hh:mm:ss - pnid_utils-update_task_status():1444 - INFO - Task : Failed to reset machine account.
LDAP_INVALID_CREDENTIALS(49) or LDAP_NO_SUCH_OBJECT(32) appear, often showing a doubled domain (e.g., vcenter.domain.com.domain.com)yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: VmDirSendLdapResult: Request (Bind), Error (LDAP_INVALID_CREDENTIALS(49)), Message ((49)(SASL start failed.)), (0) socket (127.0.0.1)
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: Bind Request Failed (127.0.0.1) error 49: Protocol version: 3, Bind DN: "", Method: SASL
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: VmDirSRPGetIdentityData (vcenter.domain.com.domain.com) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: VmDirSRPGetIdentityData (vcenter.domain.com.domain.com) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: SASLSessionStart: sasl error (-20)(SASL(-13): user not found: no secret in database)
OR
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: InternalModifyEntry: VdirExecutePostModifyCommitPlugins - code(9703)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSendLdapResult: Request (Modify), Error (LDAP_NO_SUCH_OBJECT(32)), Message (read entry (cn=vcenter.domain.com.domain.com,ou=domain controllers,dc=example,dc=com) failed), (0) socket (127.0.0.1)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSRPGetIdentityData (vcenter.domain.com.domain.com) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSRPGetIdentityData (vcenter.domain.com.domain.com) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: SASLSessionStart: sasl error (-20)(SASL(-13): user not found: no secret in database)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSendLdapResult: Request (Bind), Error (LDAP_INVALID_CREDENTIALS(49)), Message ((49)(SASL start failed.)), (0) socket (127.0.0.1)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: Bind Request Failed (127.0.0.1) error 49: Protocol version: 3, Bind DN: "", Method: SASL
/var/log/vmware/vmdird/vmdird-syslog.log we can see the new PNID as "vcenter.domain.com.domain.com" which is incorrect.This is a known issue with PNID change workflow and resolved in vCenter server version 8.0 U3 and above.
Workaround:
To resolve this issue, perform the PNID change in two distinct steps using a temporary, unique FQDN. Ensure a valid backup or snapshot of the vCenter Server is taken before proceeding.
vcenter-temp.domain.com) pointing to the current vCenter IP address. https://<vcenter-ip>:5480.