LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-30-2016, 04:12 PM   #1
R.R
LQ Newbie
 
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
Post Samba Server help


Hello. I've set up a Samba server today and created a share, I can access the share from my Windows system, edit and add folders and text files etc. What I would like to do is set the share in a way that only certain people can access it, I can do it in a way that in affects users on my Ubuntu PC but I want to add access for my Windows user as well, how can I do this?
 
Old 03-30-2016, 04:42 PM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

You have to look at configuring your Samba with a kind of integration with Windows Active Directory domains.
Just google for it, there should be a lot of related tutorials and linked to your distribution.
 
Old 03-30-2016, 06:53 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,339
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
This should help.

https://wiki.samba.org/index.php/Set...ain_Controller
 
Old 04-01-2016, 07:29 AM   #4
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
depending on how complicated your set up is, you could possible get away with just defining users in your share definition.

valid users = user1 user2 user3

this also works in reverse

invalid users = user1 user2 user3


there the user1 user2 user3 are individual samba account users.

more info here:

https://www.samba.org/samba/docs/using_samba/ch09.html
 
  


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
LXer: Install and Configure Samba Server as File Server on Ubuntu Server 12.04 LXer Syndicated Linux News 0 06-06-2012 12:01 PM
[SOLVED] SAMBA problem â?? rebuilding server â?? How to configure SAMBA share with writing - Win Alvin88 Linux - Newbie 5 04-04-2012 12:51 AM
generating tmp file in samba server while saving file from win7 in samba server centos123 Linux - Server 15 11-05-2011 05:05 AM
Is there any way to log user samba who delete or move files/folders on samba server ? b-RAM Linux - Server 1 02-09-2010 12:33 AM
Move user files from Samba server to new samba server TheB2B Linux - Server 3 11-10-2007 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 AM.

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