Latest LQ Deal: Latest LQ Deals
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 03-30-2016, 05:12 PM   #1
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, 05:42 PM   #2
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 512

Rep: Reputation: 95

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, 07:53 PM   #3
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,963
Blog Entries: 27

Rep: Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180Reputation: 5180
This should help.
Old 04-01-2016, 08:29 AM   #4
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:


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: Install and Configure Samba Server as File Server on Ubuntu Server 12.04 LXer Syndicated Linux News 0 06-06-2012 01:01 PM
[SOLVED] SAMBA problem ?? rebuilding server ?? How to configure SAMBA share with writing - Win Alvin88 Linux - Newbie 5 04-04-2012 01:51 AM
generating tmp file in samba server while saving file from win7 in samba server centos123 Linux - Server 15 11-05-2011 06: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 01:33 AM
Move user files from Samba server to new samba server TheB2B Linux - Server 3 11-10-2007 09:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 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
Open Source Consulting | Domain Registration