Hi all,
I have a setup where I have my server application in one domain, and the user account names are duplicated on 2 trusted domains (domain1 and domain2). When a user logs in to the application, I can see that the LookupAccountName win32 function is called to find the user acccount on the OS, and the user is always logged using the same trusted domain account (the other account on domain2 is never used), so LookupAccountName must always be finding the account on domain1 first.
My question is - is there some setting, or some means by which LookupAccountName() searches trusted domains, or can any trusted domain be given precidence over another, so I can get the application to log in using the user account on domain2? For example, if domain1 is moved into a seperate forest, will this make it more likely that the account on domain2 will be found first?
By the way - this is for testing an application problem, so please don't ask why I have the same user account names on 2 trusted domains.
I have a setup where I have my server application in one domain, and the user account names are duplicated on 2 trusted domains (domain1 and domain2). When a user logs in to the application, I can see that the LookupAccountName win32 function is called to find the user acccount on the OS, and the user is always logged using the same trusted domain account (the other account on domain2 is never used), so LookupAccountName must always be finding the account on domain1 first.
My question is - is there some setting, or some means by which LookupAccountName() searches trusted domains, or can any trusted domain be given precidence over another, so I can get the application to log in using the user account on domain2? For example, if domain1 is moved into a seperate forest, will this make it more likely that the account on domain2 will be found first?
By the way - this is for testing an application problem, so please don't ask why I have the same user account names on 2 trusted domains.