In our company we are working with two Active Directory domains (DOMAIN1 and DOMAIN2) In DOMAIN1 we have a linux server running samba and are authenticating to the Domain controller for this domain. useres located in DOMAIN1 can access samba using \\SERVER\SHARE from logonscript.
in DOMAIN2 we have users have access to the Linux server in DOMAIN1, but have to authenticate with a DOMAIN1 user (yes they have 2 users). When authenticing they need to enter DOMAIN1\username and their password to get acces.
My question is, can we make the samba force user authentication to select user from DOMAIN1, sp that the users dont need to type DOMAIN1\username, but can just type username and password?
my other question is, Can samba use two domain controlles and two active directory to authenticate users from both domains?