LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-30-2007, 07:52 AM   #1
dwezel
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Rep: Reputation: 0
Replacing Windows 2003 with Linux (File sharing)


We have a Windows 2003 server here at work that is just a pure file sharing machine. I have been looking into replacing this with linux (Likely Debian or Ubuntu) running Samba. The question I have is this... Does Linux/Samba support the fine grained access control I can get in Windows. For example, I have a shared folder I let everyone map as their S: drive. In that folder there are several directories such as Accounting, CAD, Sales, etc... These folders are only accessable to users that belong to the corresponding groups I setup in Windows. On several occasions though (Such as our CAD folder) I have another group that just gets read-only permissions. Can I do this type of thing in Linux/Samba? Will Linux/Samba let me control files down to the user level... for example letting me give different access permission to a particular file based on the user?

Thank you for your time. I hope someone can give me some insight or even just point me into the right direction for more information.
 
Old 08-31-2007, 12:53 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
This is no problem.
All nessesary stuff is controlled by the smb.conf.
Informations about that is a lot out in the I-net.

Look for "PDC samba" in a google search and you'll be fine.
Even if you don't want to use the CIFS/SMB for PDC they will explain how to organize the security modes with groups.
valid users = @cad

in this case @cad would mean that all users of the group cad are valid.

write list = @cad all users of the group would be able to write in this particular share

and so on....

scrips per machine, scripts per user everything is possible.
 
Old 09-06-2007, 05:04 PM   #3
dwezel
LQ Newbie
 
Registered: Sep 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you. I will do some more googling. Just out of curiousity, is there any good Samba web based admin tools you would suggest?
 
Old 09-06-2007, 10:44 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
SWAT is a good SAMBA GUI tool.

Yes, you can do fine granular security controls.

HOWEVER, are you sure you want to lose the Windows Server 2003? There are some benefits you get that Samba cannot do. Mainly with Active Directory and deploying out group policies to your Windows machine. If you don't have enough machines to justify this, then SAMBA would be a good alternative. But again, if you have Windows server 2003 already with a purchased license, you might as well stick to it since you paid for it, and instead join another Linux SAMBA machine into the domain. Then you can have the best of both worlds.

Last edited by Micro420; 09-06-2007 at 10:46 PM.
 
Old 09-08-2007, 03:48 PM   #5
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
For controlling access in the manner you suggest I would recommend using the native Linux user/group permissions. For example my shared drive in the smb.conf simply looks like

[shared]
comment = Shared network data
path = /shared
inherit acls = Yes
read only = No

I set up Linux users for each Windows user and then set the Linux permissions on the directories to restrict who does what.
 
Old 09-18-2007, 05:56 AM   #6
wikked1
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by dwezel View Post
Thank you. I will do some more googling. Just out of curiousity, is there any good Samba web based admin tools you would suggest?
Nothing against SWAT except you need to make a backup of your smb.conf file because swat will over write it.

Personally I think webmin is a bit better and if you're an admin you can perform just about any task you need from it.
 
Old 11-16-2007, 02:19 AM   #7
bigmig
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Rep: Reputation: 0
I there.

I'm usualy choosing an Disto named IPBrick (http://vmn.pt/ipbrick/indexen.html) as Server Domain Controller witch is very user friendly.

It has an WebAdmin to manage almost all features we need in an server.

Recentely I've migradet hundreds of users (usernames, pws, e-mail addresses, etc) from a Windows Server 2003 to IPBrick in seconds, with a csv file exported from Windows and imported to Linux.

Give it a try, but note that it isn't free...

In my oppinion is the best Linux Distro to Sys Admin how want to start working with Linux Servers.

I hope this will help you!

Best regards,
bigmig

Last edited by bigmig; 11-16-2007 at 02:22 AM.
 
  


Reply



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
How file sharing on linux to windows cbcats Linux - Networking 6 01-25-2005 02:58 PM
sharing debian with windows 2003 nadirm Linux - Software 0 01-23-2005 10:03 AM
File Sharing Windows and linux together ? maxboost Linux - Networking 4 12-30-2004 12:24 PM
Linux-Windows file sharing ar1 Linux - General 6 01-22-2004 11:54 PM
re: windows and linux file sharing rahul_jain_9684 Linux - Software 4 07-28-2003 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:57 PM.

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