Solved

two domains, Samba and LDAP AD lookup user authentication

Posted on 2011-02-18
2
888 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
2 Comments
 
LVL 11

Accepted Solution

by:
willettmeister earned 500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
centos commands 6 51
Problem to setup GUI 11 31
Upgrade BIOS / EUFI at Scale 4 33
How to restrict users sending out emails to all 1 15
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

776 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