Last active
April 7, 2017 22:50
-
-
Save trodemaster/c31e8fe4f98d70f6c20c725e3224d912 to your computer and use it in GitHub Desktop.
If you need to bind VCVA to AD subdomain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the cli to bind the VCVA to the domain specifying the domain alias instead of letting it auto populate. Must reboot after this is done | |
/opt/likewise/bin/domainjoin-cli join --userDomainPrefix domainname domainname.forest.company.com [email protected] "password" | |
# Create your identity source via the web interface chosing windows integrated source. | |
# Setup the identity source to use the specified domain alias instead of the default one. https://kb.vmware.com/kb/2070433 via http://www.virtuallyghetto.com/2015/01/automating-active-directory-identity-source-default-domain-in-vsphere-web-client.html | |
# Create datafile with updated info | |
/tmp/defaultdomain.ldif | |
dn: cn=vsphere.local,cn=Tenants,cn=IdentityManager,cn=Services,dc=vsphere,dc=local | |
changetype: modify | |
replace: vmwSTSDefaultIdentityProvider | |
vmwSTSDefaultIdentityProvider: domainname.forest.company.com | |
# update the identity source to point to your desired subdomain | |
/opt/likewise/bin/ldapmodify -f /tmp/defaultdomain.ldif -h localhost -p 11711 -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -W | |
# Dont' edit the settings in the web gui or they are lost.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment