hello,
I cant join the domain ( windows based) .
I want to join my vMA to domain but it is always prompting wrong password
when i do like this on my vMA
domainjoin-cli join <domain-name> <domain-admin-user>
It prompt me permission error so I tried with sudo
vi-admin@vma : sudo domainjoin-cli join <domain-name> <domain-admin-user : which i can use to login on my other computers >
then it gives me wrong password .. my password is correct..
I have tried on both vMA versions 4.1 and 5.1/5.5
any suggestions...
Hey VirtualRay
Does your VMA have the same DNS settings as your domain?
So if you pings your vCenter Server by going ping vcenter01.mydomain.lan Does it return properly?
If so this should work
1 From the vMA console, run the following command:
sudo domainjoin-cli join <domain-name> <domain-admin-user>
2 When prompted, provide the Active Directory administrator's password.
On successful authentication, the command adds vMA as a member of the domain. The command also adds entries in the /etc/hosts file with vmaHostname.domainname.
3 Restart vMA.
Now, you can add an Active Directory target to vMA. For steps to do this, see Add Target Servers to vMA.
To check vMA's domain settings
From the vMA console, run the following command:
sudo domainjoin-cli query
The command displays the name of the domain to which vMA has joined.
:
Hey VirtualRay
Does your VMA have the same DNS settings as your domain?
So if you pings your vCenter Server by going ping vcenter01.mydomain.lan Does it return properly?
If so this should work
1 From the vMA console, run the following command:
sudo domainjoin-cli join <domain-name> <domain-admin-user>
2 When prompted, provide the Active Directory administrator's password.
On successful authentication, the command adds vMA as a member of the domain. The command also adds entries in the /etc/hosts file with vmaHostname.domainname.
3 Restart vMA.
Now, you can add an Active Directory target to vMA. For steps to do this, see Add Target Servers to vMA.
To check vMA's domain settings
From the vMA console, run the following command:
sudo domainjoin-cli query
The command displays the name of the domain to which vMA has joined.
:
Instead of putting a server password first time i was putting a domain password..
Ahh glad its working for you