Attempts to search multiple domains with "vastool search" fail. This might be desirable when searching for duplicate information across parent/child domains.
/opt/quest/bin/vastool -u <admin> search -b "DC=example,DC=com" -h subdomain.example.com -s sub -p 389 "CN=example user"
This will not work.
There is no provision within "ldap search" or "vastool search" to search multiple domains simultaneously.
In most cases searching the global catalog will yield the desired results.
Example:
/opt/quest/bin/vastool -u <admin> search -b "" -U GC:// "CN=example user"
The above will search all indexed information for the CN of "example user".
There is also the option to search multiple domains with a separate query for each domain by running commands like these:
/opt/quest/bin/vastool -u <admin> search -b "" -U "DC://@DOMAIN1.COM" "CN=example user"
/opt/quest/bin/vastool -u <admin> search -b "" -U "DC://@DOMAIN2.COM" "CN=example user"
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center