In the Adaxes Administration Console, in the Console Tree, under "Active Directory", I have four domains listed.
When I use any of the cmdlets with the identity parameter set to the SAM account name, it always uses the default domain (the first in the list).
I can apparently get to the other domains by using the complete Distinguished Name, but that kind of defeats the purpose since I won't know in advance which OUs contain the object in the other three domains (if any).
I can use the Quest tools with "get-qaduser -service <domain.com> -identity <samaccountname>" and it works fine, but I have been unable to figure out how to get the same functionality within Adaxes when I'm working with one of the non-default domains. I'm assuming I need to use the -Partition parameter, but every entry I've tried for that parameter fails. It always returns "Can't find an object with identity '<samaccountname>' under '<partition DN>'.
-Partition
Specifies the distinguished name of an Active Directory partition. The distinguished name must be one of the
naming contexts on the current directory server. The cmdlet searches this partition to find the object defined
by the Identity parameter.
How can I find the correct distinguished name for each of the non-default domains on the server? I'm assuming that information has to be in the Management Console somewhere, but I've been unable to find it even after significant searching.