Idm client exception error trying to join ad error code 42502

Trying to join a vCenter VM to an Active Directory Domain, but I get this error and I can't find anything about what this error code is online.

Killer2o3

Contributor

Killer2o3

Contributor

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎09-29-2021

05:59 PM

Jump to solution

Trying to join a vCenter VM to an Active Directory Domain, but I get this error and I can’t find anything about what this error code is online.

Killer2o3_0-1632963572291.png


0


Kudos

Reply


  • All forum topics


  • Previous Topic

  • Next Topic

1 Solution


Accepted Solutions

Killer2o3

Contributor

Killer2o3

Contributor

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎09-30-2021

10:40 AM


Jump to solution

Ok so I was able to join to my directory after adding the vCenter machine itself to the domain controllers group in my domain’s Active Directory Users and Computers

View solution in original post


0


Kudos

Reply

2 Replies

swaheed1239

Enthusiast

swaheed1239

Enthusiast

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎09-30-2021

03:56 AM

Jump to solution

Which user you are using to join the vcenter to the domain??

You should be using a domain account which has rights to join any machine to your domain.


0


Kudos

Reply

Killer2o3

Contributor

Killer2o3

Contributor

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎09-30-2021

10:40 AM


Jump to solution

Ok so I was able to join to my directory after adding the vCenter machine itself to the domain controllers group in my domain’s Active Directory Users and Computers


0


Kudos

Reply

Содержание

  1. VMware vcenter appliance AD join schlägt fehl Fehler 42502
  2. VMware VCSA 6.5 error code 42500 joining Active Directory domain
  3. VMware VCSA 6.5 error code 42500 joining Active Directory domain
  4. Resolution
  5. Thoughts

Ich brauch mal eure Hilfe:

für ein paar Experimente mit einer 30 Tages-Testversion vom Horizonview auf ESX 6.7 muß ich zunächst einen vCenter Server aufsetzen.
Die vcenter Appliance hab ich noch problemlos installieren können, ich hab exclusiv dafür einen Host.
Die Appliance startet. ich will dem AD beitreten und kriege diese Fehlermeldung:

Idm client exception: Error trying to join AD, error code [42502], user [administrator@16ad.local], domain [16ad.local], orgUnit []

Das Netz ist korrekt konfiguriert, eine parallel zur Appliance installierte Windows 10 VM kann der Domäne beitreten.
Mein AD ist 2012 R2 level

Versionen:
ESX 6.7 Enterprise CU3 aber keine Patches danach, und der dazugehörige vCenter Server

Dann googelte ich nach dem Fehler.
1.) Zeit nicht synchron. OK da hatten die Leute recht, die CMOS Batterie war leer und der Host lief im Jahr 2013
1.a) ESX 6.7 CU3 Autostart ist defekt, grrrrr
2.) die blöde Appliance bringt sich nach der Datumsänderung um, da sie bei der Installatoin ein selfsigned Zertifikat ausstellt mit 2 Jahren Gültigkeit. Keiner der Dienste funktioniert mehr, nicht mal die Verwaltungsseite, und die SSH Shell wollte ich nicht anfassen. die Neuinstallation mit aktuellem Datum ist einfacher.
3.) auf den beiden Hosts die Mainboarduhren synchronisiert (es gibt keinen externen NTP Server da gekapseltes Lab)
4.) Appliance neu installiert. und wieder der blöde Fehler beim Domain join.

Das Ereignisprotokoll des Domain controllers zeigt keinerlei Einträge im EReignisprotokoll, der Fehler entsteht also alleine in der Appliance.

off topic
Lessons lerned von dem Zertifikatsdisaster ist daß ich bei lets encrypt mal vorbeischauen werde.
on topic

Nach dieser Anleitung hier sollte der domain join

Hier meinte noch einer, falscher DNS Server angegeben. Sowas kommt vor, wenn ein Lab per DHCP läuft und der vom Internetrouter schneller antwortet wie der DHCP im Domaincontroller.

Aber bei mir ist alles händisch konfiguriert, der Hostname der Appliance (photon-machine) hat einen A-Namen Eintrag in meinem DNS erhalten und der DNS Server ist auch die IP Addresse des DC.

Источник

VMware VCSA 6.5 error code 42500 joining Active Directory domain

Many VMware administrators by now are most likely looking at moving to vSphere 6.5. In doing so, moving to VCSA 6.5 appliance is the first step towards that goal, besides proper planning of course. Part of any vCenter configuration is getting permissions assigned to appropriate users in the environment and granting access to vCenter objects. Most environments will be running Microsoft Active Directory as the identity source for assigning those permissions. I wanted to share an error I received with a test VCSA 6.5 appliance and joining the appliance to an Active Directory domain in a lab environment. There was a specific VMware VCSA 6.5 error code 42500 joining Active Directory domain.

VMware VCSA 6.5 error code 42500 joining Active Directory domain

In order to join a vCenter appliance to Active Directory, login as your SSO administrator and go to System Configuration >> Manage >> Active Directory and click the Join… button.

You will be presented with a simple dialog box to enter the Domain, Organizational unit, User name, and Password. As you can see below the VMware VCSA 6.5 error code 42500 joining Active Directory domain was presented when entering the correct information.

Resolution

When in doubt, use the command line. Login to your remote VCSA CLI and enter the shell command. Once there, you can use the following command to join an Active Directory domain:

You will be prompted to enter the password for the user you entered to join the domain. You should receive a SUCCESS message as below.

You can make sure at this point you see the computer account successfully created in your Active Directory Domain Users and Computers snapin.

Also, at this point be sure to reboot your vCenter appliance after joining the domain.

Thoughts

The process to join a VCSA appliance to the domain is not too difficult, however, in this case the error with VMware VCSA 6.5 error code 42500 joining Active Directory domain presented in the GUI. This was easily overcome though by using the CLI to joing the domain from there. Hopefully this will help anyone else who may run into this error when joining their VCSA 6.5 appliance to an Active Directory domain.

Subscribe to the channel: https://www.youtube.com/channel/UCrxcWtpd1IGHG9RbD_9380A?sub_confirmation=1

My blog:
https://www.virtualizationhowto.com
_____________________________________________________

Social Media:
https://twitter.com/vspinmaster

Introduction — 0:00
How I received the Intel Optane drives — 0:45
What about the end of life of Intel Optane storage? — 1:24
Notice of end of life driving price down — 2:05
Introducing information about Intel Optane — 2:23
NAND uses transistors where Intel Optane doesn’t — 2:46
NAND changes data inefficiently compared to Intel Optane — 3:02
No backend processes needed with Intel Optane data changes — 3:40
Looking at the form factors of the Intel Optane drives — 4:07
Looking at the cable I am using to connect the U.2 drive to the motherboard — 4:42
Other ways to connect M.2 to U.2 — 5:04
Looking at the calbe after installation and U.2 Intel Optane drive mounted — 5:41
Introducing VMware HCIBench benchmarking utility — 6:28
Looking at deploying the HCIGBench OVA appliance — 7:15
Configuring the HCIBench benchmarking parameters — 7:29
Looking at the Easy Run — 8:10
Choosing the benchmarking tool to use — 8:45
Looking at the results of the Intel Optane tests! — 9:30
Talking about my Supermicro Xeon-D vSAN hosts — 9:40
Numbers before Intel Optane — 9:57
With Intel Optane numbers — 10:30
95th percentile write latency — 11:16
Concluding thoughts on Intel Optane and the use case for home lab — 12:20

Is Intel Optane worth it?
https://www.virtualizationhowto.com/2022/12/is-intel-optane-worth-it-awesome-vexpert-opportunity/

NVMe server for vSAN virtual machines:
https://www.virtualizationhowto.com/2022/08/nvme-server-for-vsan-virtual-machines/

My Supermicro home lab:
https://www.virtualizationhowto.com/2020/06/supermicro-vmware-home-lab/» data-video-title=»Best Home Server Storage for virtualization — Intel Optane in VMware vSAN»>

My blog:
https://www.virtualizationhowto.com
_____________________________________________________

Social Media:
https://twitter.com/vspinmaster

Introduction — 0:00
Describing creating virtual machines and tools used — 0:56
Creating Linux virtual machines and running like Docker containers — 1:49
Installing Multipass — 2:23
Downloading Multipass for Windows — 3:02
Describing the virtualization platforms supported with Multipass on Windows — 3:26
Running the Multipass installer — 3:58
Describing the command line options for pulling down VM images and creating new virtual machines — 4:33
Looking at the Multipass command line options — 4:54
Running Multipass list — 5:36
Multipass launch command — 6:15
Launching Hyper-V Manager — 7:09
Connecting to the virtual machine for management and Bash Shell access — 7:44
Running commands inside the Linux virtual machine — 8:10
Talking about tearing down virtual machine environments — 8:23
Stopping and deleting Multipass virtual machine instances — 8:58
Describing how to create custom virtual machine images and configurations — 10:16
Talking about cloud init and cloud config — 10:44
Looking at an example of customizing a virtual machine with Multipass — 10:55
Executing the configuration command — 12:40
Looking at the syntax for using cloud-init — 13:05
Looking at the available appliances in the Multipass catalog and interesting options — 14:01
Concluding thoughts on Multipass and how it can be used — 15:13

Use Terraform to spin up a vSphere Kubernetes automated lab build in 8 minutes:
https://www.virtualizationhowto.com/2021/12/terraform-vsphere-kubernetes-automated-lab-build-in-8-minutes/

Use the Terraform vault provider:
https://www.virtualizationhowto.com/2021/03/using-terraform-vault-provider-with-vmware-vsphere/

Sysprep and VMware Guest Customization with Terraform:
https://www.virtualizationhowto.com/2018/06/sysprep-and-vmware-guest-customization-with-terraform/» data-video-title=»Best Virtual Machine Creation tool to create and run Linux VMs like containers»>

My blog:
https://www.virtualizationhowto.com

Social Media:
https://twitter.com/vspinmaster

Introduction — 0:00
Describing traditional workflow and problem with email — 0:48
Introducing Apprise and Mailrise — 2:03
Overview of the Apprise service and how it works — 2:39
Thinking about the advantages of Apprise — 3:42
What about legacy applications and hardware that only supports SMTP? 4:15
Introducing Mailrise SMTP gateway — 4:42
Legacy devices can SMTP to Mailrise and it translates to modern notification services — 5:30
Simple config for modern notifications in Mailrise — 6:11
Example files for Mailrise notifications — 6:25
Exciting possibilities for home labs — 6:37
Installing Mailrise — 7:30
Copying the mailrise installation command — 7:55
Prerequisite to the install — 8:08
Executing the installation of Mailrise — 8:20
Creating a service file for Mailrise — 8:38
Pasting in service file configuration for Mailrise — 8:54
Creating the Mailrise configuration file — 9:28
Looking at the config file for Mailrise and example config — 9:45
Looking at the configuration for Pushover notifications — 10:22
Discussing the user and application tokens — 10:53
Starting the Mailrise service configuration — 11:37
Talking about testing Mailrise notifications using PowerShell — 11:50
Using send-mailmessage cmdlet to test — 12:20
Talking through the command — 12:35
Added notifications to desktop — 13:38
Running the test of Mailrise notifications to Pushover — 13:56
Wrapping up the testing workflow — 14:20

Apprise Github page:
https://github.com/caronc/apprise

Mailrise Github page:
https://github.com/YoRyan/mailrise

IoT Notification System Push Notifications for Home Lab no SMTP required:
https://www.virtualizationhowto.com/2022/12/iot-notification-system-push-notifications-for-home-lab-no-smtp-required/

My home lab environment:
https://www.virtualizationhowto.com/home-lab/

Supermicro VMware Home Lab:
https://www.virtualizationhowto.com/2020/06/supermicro-vmware-home-lab/» data-video-title=»Best Notification System for Home Servers with Apprise Push Alerts»>

My blog:
https://www.virtualizationhowto.com

Social Media:
https://twitter.com/vspinmaster

Introduction to Docker monitoring — 0:00
Introducing Docker stats command — 0:49
Running the Docker stats command — 1:08
Looking at the Docker stats help and additional parameters — 1:52
Introducing Glances Docker monitoring commandline tool — 3:16
Pulling down the Glances container — 4:08
Looking at the Glances dashboard — 4:45
Looking at Glances container host information for monitoring — 5:02
Information about the running containers — 5:31
Sorting information in Glances — 5:58
Introducing Portainer for Docker monitoring — 6:35
Looking at the Portainer dashboard — 7:15
Containers view in Portainer — 7:49
Portainer Quick Actions and what they do — 8:12
Adding additional Docker hosts in Portainer — 10:12
Introducing Zabbix for monitoring Docker containers — 10:32
Looking at Zabbix dashboards for a Docker host — 11:15
Graphs view in Zabbix — 11:50
Viewing historical data for Docker containers — 12:22
Looking at Zabbix container host monitoring via Linux agent — 12:56
Introducing CheckMK — 13:58
Viewing the CheckMK dashboard — 14:37
Viewing container host performance metrics in CheckMK — 15:01
Viewing the Docker containers information in CheckMK — 16:02
Concluding thoughts and wrapping up monitoring Docker containers — 16:49

Free Docker monitoring solutions that are free and open source:

Install and configure the Portainer remote agent:

Yacht vs. Portainer:

https://www.virtualizationhowto.com/2022/12/yacht-vs-portainer-docker-dashboard-comparison/» data-video-title=»Best Docker Container Monitoring Tools — Free and open source»>

My blog:
https://www.virtualizationhowto.com
_____________________________________________________

Social Media:
https://twitter.com/vspinmaster

Introduction to Windows Subsystem for Linux — 0:00
New Windows Subsystem for Linux WSL2 install process from Microsoft Store — 1:10
Looking at installing it from Microsoft Store 2:09
How can you tell if you have the latest version installed? 2:40
Overwriting installed version with the Store version — 3:14
Supressing the sudo password prompt — 3:54
Adding the command to suppress the sudo prompt — 4:35
Enabling systemd functionality in WSL 2 — 5:10
Editing the file to add systemd to WSL 2 — 5:45
Shutting down WSL after adding systemd — 6:15
Verifying systemd is installed — 6:30
Introducing Ansible — 6:47
Viewing the commands to install Ansible in WSL 2 — 7:10
Entering Kerberos realm — 8:07
Viewing Ansible version command — 8:18
Adding persistent aliases and why you want to do this — 8:32
Creating the file needed for persistent alias in WSL 2 — 8:53
Pasting in the command needed for the alias — 9:20
Testing the alias created — 10:14
Introducing PowerShell and why you can use it — 10:38
Looking at the commands in WSL for installing PowerShell — 11:02
Executing PowerShell in WSL — 12:08
Adding the VMware PowerCLI module — 12:35
Verifying the VMware PowerCLI installation — 13:13
Working with files between WSL and your Windows WSL host — 13:30
Looking at file navigation, browsing, copying, editing between WSL and Windows host — 14:20
Looking at changing to a mounted Windows host directory in WSL — 14:49
Opening a location in WSL 2 in Windows Explorer — 15:27
Installing Kubernetes inside Windows Subsystem for Linux — 16:23
Viewing the command to install Microk8s — 17:05
Issuing microk8s status command — 17:22
Issuing microk8s kubectl commands — 17:38
Installing Minikube in WSL 2 — 18:02
After prerequisites, beginning Minkube installatio — 18:54
Starting the Minkube cluster — 19:36
Viewing Minkube cluster with kubectl — 19:51
Conclueding thoughts on Windows Subsystem for Linux tweaks — 20:00

Windows Subsystem for Linux now GA and how to install it:

Windows Server 2022 WSL 2 support with KB5014021 Windows Update:

https://www.virtualizationhowto.com/2022/05/windows-2022-wsl2-support-with-new-windows-update-kb5014021/» data-video-title=»Windows Subsystem for Linux setup WSL2 Systemd, Ansible, and Kubernetes»>

Источник

Ich brauch mal eure Hilfe:

für ein paar Experimente mit einer 30 Tages-Testversion vom Horizonview auf ESX 6.7 muß ich zunächst einen vCenter Server aufsetzen.
Die vcenter Appliance hab ich noch problemlos installieren können, ich hab exclusiv dafür einen Host.
Die Appliance startet… ich will dem AD beitreten und kriege diese Fehlermeldung:

Idm client exception: Error trying to join AD, error code [42502], user [administrator@16ad.local], domain [16ad.local], orgUnit []

Das Netz ist korrekt konfiguriert, eine parallel zur Appliance installierte Windows 10 VM kann der Domäne beitreten.
Mein AD ist 2012 R2 level

Versionen:
ESX 6.7 Enterprise CU3 aber keine Patches danach, und der dazugehörige vCenter Server

Dann googelte ich nach dem Fehler…
1.) Zeit nicht synchron. OK da hatten die Leute recht, die CMOS Batterie war leer und der Host lief im Jahr 2013
1.a) ESX 6.7 CU3 Autostart ist defekt, grrrrr
2.) die blöde Appliance bringt sich nach der Datumsänderung um, da sie bei der Installatoin ein selfsigned Zertifikat ausstellt mit 2 Jahren Gültigkeit. Keiner der Dienste funktioniert mehr, nicht mal die Verwaltungsseite, und die SSH Shell wollte ich nicht anfassen… die Neuinstallation mit aktuellem Datum ist einfacher.
3.) auf den beiden Hosts die Mainboarduhren synchronisiert (es gibt keinen externen NTP Server da gekapseltes Lab)
4.) Appliance neu installiert… und wieder der blöde Fehler beim Domain join.

Das Ereignisprotokoll des Domain controllers zeigt keinerlei Einträge im EReignisprotokoll, der Fehler entsteht also alleine in der Appliance.

off topic
Lessons lerned von dem Zertifikatsdisaster ist daß ich bei lets encrypt mal vorbeischauen werde…
on topic

Nach dieser Anleitung hier sollte der domain join

https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcsa.do …

Hier meinte noch einer, falscher DNS Server angegeben. Sowas kommt vor, wenn ein Lab per DHCP läuft und der vom Internetrouter schneller antwortet wie der DHCP im Domaincontroller.

https://communities.vmware.com/t5/vCenter-Server-Discussions/Idm-client- …

Aber bei mir ist alles händisch konfiguriert, der Hostname der Appliance (photon-machine) hat einen A-Namen Eintrag in meinem DNS erhalten und der DNS Server ist auch die IP Addresse des DC.

Was könnte das noch sein?

Content-Key: 665331

Url: https://administrator.de/contentid/665331

Ausgedruckt am: 09.02.2023 um 18:02 Uhr

I’m trying to spin up a new vCenter server for our new domain. I am having problems getting it to fully join to the domain. 

Details:

I installed the server via the web installer. Lovely program.. 
I turned on debug logging via the console as I have been trying to figure this out for a while, and this is a fresh install..
I log into the web interface with the SSO administrator ID
I try to join the domain, using my ID in the user@domain form.
Joining completely fails
Logs show «ldm client exception: Error trying to join AD, error code [40705]
I perform the fix in this KB Opens a new window Opens a new window
I restart the server
I log in, try to join the domain. I get a warning.
Idm client exception: Error trying to join AD, error code [40315], user [user@domain], domain [domain], orgUnit [] (some details left out but correct)
Also in the logs I get another message:
lsassd[4902]: 0x7f2a3a7fc700: Failed to run provider specific request (request code = 8, provider = ‘lsa-activeirectory-provider’) -> error = 40315, symbol = LW_ERROR_LDAP_CONSTRAINT_VIOLATION, client pid = 4948
The new computer object is, however, created in AD before it errors out. No details (OS or whatnot) were populated.
I reboot the appliance.
The appliance shows that it was joined to the domain once I log in and look at the AD page under the node. That said, nothing was populated in the AD object information. It never finished properly joining.

To further muddy the waters, if I try to add the domain under identity sources so I can work on user and group permissions, I type in the domain, I’ll call it my.domain and use integrated authenticaton (top option). I hit OK, it adds an entry for the top level domain, I’ll call it root.domain.

I reboot the server

I can add permissions for users or groups in my.domain, but I am completely unable to log into the web client or application with the ID or an id in the group. It keeps saying incorrect user id or password. These are my ID’s, I know they are correct.

Let’s make it even murkier. I spent 3.5 hours on the phone yesterday with VMWare. The guy on the other line was to the point where he was googling error codes because they don’t have any information on them, so he asked me to delete the VM and try it fresh since we had already made a whole ton of changes to the one we were working with. I did yesterday just before I left, performed the above steps, and that’s where I am at.

Here’s part of the problem. I have very limited access to this new domain. Sadly, the higher ups at corporate are unwilling to give SENIOR SYSTEM ADMINS proper administrator creds unless they work in corporate IT. This is a new development and part of the new domain, I unfortunately have little more access then a lot of L1 helpdesk techs. That said, anything in our OU’s I have complete control over. 

I’m unsure where to go on this, I need to get a vCenter server joined to the new domain so we can back up the VM’s on it (no i’m not looking for backup help or advice here) but VMWare seems completely lost on it at this point..

I also did try the solution from this thread Opens a new window Opens a new window but no joy. 

Help :(

Понравилась статья? Поделить с друзьями:
  • Idle report exe ошибка приложения что это
  • Idle report exe ошибка приложения 0xc0000142 при завершении работы
  • Idle report exe ошибка clr 80004005
  • Idle master процесс как исправить
  • Idle internal error in runcode