Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-08-2015, 09:43 AM   #1
LQ Newbie
Registered: May 2015
Posts: 2

Rep: Reputation: Disabled
Planning on switching to Linux and set up domain controller and samba


I am not entirely new to Linux and UNIX in general, but I am to Samba.

I have about 100 users roughly and currently have a fileserver that is drastically wasted on a Windows Server 2008 R2 platform, which I would eventually like to migrate to a Linux platform to reduce the amount of programs unnecessary for the purpose of a fileserver, and also set up my server as a primary domain controller as well as user access if possible.

I'm reading and sifting through the forum on the current information, but if anyone has additional thoughts they would like to add, I will probably need something from A to Z if possible that will produce the least pain as possible, as well as reduce maintenance downtime when I actually go to implement this, as I will have to have a means to either backup what is currently on our file server, and then move toward a new fileserver on a simplified platform and perhaps regain my Windows server license for another application down the road.

Sorry so long, and thanks for any advice that would be given. I'm an IT Manager for a small corporation. However, I have worked for Fortune 500 companies, but not in this capacity.


Old 05-10-2015, 04:40 PM   #2
Senior Member
Registered: Nov 2011
Distribution: Debian
Posts: 1,170

Rep: Reputation: 240Reputation: 240Reputation: 240
Samba can be configured via a web interface.
Google will help you with example setups.

Why not set up a test "server" - which could just be a an old laptop.
You could test how it behaves with Windows shares.
Old 05-11-2015, 04:02 PM   #3
LQ Newbie
Registered: May 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the advice, Jeremy.

In the meantime, I believe I've made some good progress on this. There are still some bumps in the road but many of you probably already have the answer to my situation once I explain what I've been able to do.

I have a Debian distro on a VM in a Windows 7 environment. I've been able to simplify my smb.conf configuration file to where I am able to map to the device I specified. However, when I create another basic userid and then add a Samba userid as well, I am unable to gain access to the same share. The only difference I can tell is that the user I created probably doesn't have admin rights, or I'm not setting up the folder with the proper permissions for access by this user.

So in short, I can access the share with two "root" level type ids, but with the third, not able to gain access. I have chmod and chown'd the directory to mimick the userid but I still cannot make progress. Please inform. Thanks.

For reference, the commands I am using to change the directory permissions are:

chmod 777 /sharedirectory
chown <userid> /sharedirectory

So that I can attempt to give read/write access to the directory for the user. I will keep on searching in the meantime and appreciate all assistance. The fact that I am able with at least two ids, able to gain the proper access, it may be as simple as giving permissions for the user to the right group. At least that is the direction I am heading.

Old 05-11-2015, 10:48 PM   #4
Registered: Jan 2012
Location: San Antonio. TX
Distribution: CentOS. Ubuntu
Posts: 48

Rep: Reputation: Disabled

After reading your post I wanted to reach out and tell you for about two years now I have been running Samba 4 as a domain controller. It is not for the faint of heart and the reward is well worth it. I even have Group policies running and multiple windows boxes joined to the linux domain. The best part is the windows boxes have no idea they are part of a linux domain. Google it and if it is for you give it a try.

If I can help please ask



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to set up Samba as a Primary Domain Controller LXer Syndicated Linux News 0 06-10-2014 07:10 AM
[SOLVED] samba: after joining the domain the server loose the domain controller r_ramp Linux - Server 1 05-09-2012 07:12 AM
Stop one profile from roaming in domain with samba domain controller aiurm Linux - Server 4 10-16-2008 06:12 AM
Linux Domain Controller with Samba Azhrarn Linux - Software 2 02-21-2006 05:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration