Solved

two domains, Samba and LDAP AD lookup user authentication

Posted on 2011-02-18
2
883 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

Join & Write a Comment

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now