LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-13-2017, 07:06 PM   #1
cage_tt
LQ Newbie
 
Registered: Nov 2017
Posts: 1

Rep: Reputation: Disabled
Samba shares for groups in CentOS7


Hi All,
This is my maiden post to the forum, and with this, I leap into my love for Linux.I am having some problems with respect to Samba in CentOS7.
I have no problem configuring samba shares for individual users to access. They work perfectly fine when accessed as a mapped drive in windows, and samba username and password entered.

The problem I am having is with Samba shares for groups.
Here's an excerpt of my smb.conf under my share definitions:

[marketing]
path = /samba/marketing
browseable = yes
writable = yes
guest ok = no
valid users = @marketing

Now, I am new to Samba, but I did take a course in CentOS7 to refresh my Linux and get up to speed. I basically followed this tutorial, though debian in an attempt to get this working. Link here: https://www.techrepublic.com/article...es-for-groups/

The problem is when I use my windows 10 machine to map the share "marketing", when I enter a valid samba username and password of a group member belonging to the Linux group marketing, I get the error:
"You do not have permission to access \\192.168.0.15\marketing\. Contact your network administrator to request access"

Please note that I have setup and enabled, a Linux user called varin. varin has been added to the Linux group called marketing. varin is also a user I created as a samba user and I gave the user the same password as the Linux password for the same user. These commands have also been run:
sudo chgrp marketing /samba/marketing
​sudo chmod -R 770 /samba/marketing

Any Ideas?
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba shares with AD - works with security groups but not with users rob,s Linux - Server 4 02-23-2012 11:25 AM
samba shares and the notion of group of groups nass Linux - Server 4 03-12-2011 05:50 AM
samba shares permissions as flexible as 2003server shares? fdelval Linux - Newbie 5 11-23-2010 09:29 AM
Shares and groups nkeever Linux - Newbie 1 05-16-2006 01:39 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

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