When trying to join a QAS host to a domain the following error is encountered:
# /opt/quest/bin/vastool -u administrator join -c OU=UNIX,DC=EXAMPLE,DC=COM example.com
Checking whether computer is already joined to a domain ... no
Password for administrator@EXAMPLE.COM:
Stopping daemon: vasd ... OK
Configuring forest root ... example.com ... OK
Configuring site ... NAPA ... OK
Joining computer to the domain as host/linuxhost.example.com ... Failed
ERROR: Could not force join.
VAS_ERR_EXISTS: Already Exists
A computer object "CN=LINUXHOST,OU=PROD,DC=example,DC=com" with the requested name was found in a different container to the one requested (OU=UNIX,DC=EXAMPLE,DC=COM).
Caused by:
VAS_ERR_FAILURE: Unspecified failure
Object matching linuxhost.example.com found in different container
Caused by:
VAS_ERR_EXISTS: Already Exists
Object for computer "CN=linuxhost,OU=UNIX,DC=EXAMPLE,DC=COM" already exists at "CN=linuxhost,OU=PROD,DC=EXAMPLE,DC=COM"
Caused by:
VAS_ERR_LDAP: LDAP error
Invalid LDAP Filter "(samAccountName=linuxhost)"
Caused by:
LDAP_FILTER_ERROR: Invalid LDAP Filter