VMware Cloud Community
khaliqamar
Enthusiast
Enthusiast
Jump to solution

vMA unable to join domain

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...

0 Kudos
1 Solution

Accepted Solutions
JPM300
Commander
Commander
Jump to solution

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.

:

View solution in original post

0 Kudos
3 Replies
JPM300
Commander
Commander
Jump to solution

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.

:

0 Kudos
khaliqamar
Enthusiast
Enthusiast
Jump to solution

Instead of putting a server password first time i was putting a domain password..

0 Kudos
JPM300
Commander
Commander
Jump to solution

Ahh glad its working for you Smiley Happy

0 Kudos