?
Solved

two domains, Samba and LDAP AD lookup user authentication

Posted on 2011-02-18
2
Medium Priority
?
893 Views
Last Modified: 2012-05-11
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?

Kind regards. A description of the elements in my "problem" This is the logon image i get from DOMAIN2, it works if i login using username DOMAIN1\Username
0
Comment
Question by:waaland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
willettmeister earned 2000 total points
ID: 34925339
I assuming  the users machines windows.  If so this is a function of windows not SAMBA.  Windows isn't designed to be able to authenticate to multiple domains simulataneously.  I don't think there is anything you can do to change that mechanism without messing up authentication to the systems primary domain.  
0
 

Author Comment

by:waaland
ID: 34977439
This is pretty much what we expected .)
0

Featured Post

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here's a look at newsworthy articles and community happenings during the last month.
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question