LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-03-2003, 10:41 AM   #1
DJ_Cyberdance
LQ Newbie
 
Registered: Oct 2003
Location: Austria
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Samba: What group/user is used by Samba to access directories?


Hi,
As samba usernames are usually independent of linux-usernames it seems logical to me that samba does not use the samba usernames to access files and directories.

So if a directory is shared, who should be allowed to read/write there so that all samba users may access this directory? (Should not be everyone i believe...)
 
Old 10-03-2003, 10:47 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
If you make a local group called something like sambausers. Then add the local users that you want to access that directory/file and give that group read/write permissions. Then set the appropriate permissions in samba too. The way I understand it is that samba both checks local and samba permissions when accessing a file.
 
Old 10-03-2003, 10:49 AM   #3
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
For samba, it requires that you have a UNIX/Linux user for every Samba user you have seeing as the home directory is that of a linux user. So if you have the user 'joe' on your linux box and want him to be able to access a samba share remotely. You need the equivalent Samba user named 'joe'. As far as if you want an entire directory for everyone to write to, just create the directory and make a group and put "valid users = @group" and to your "write list" param put the "@group". Yes, the @ is required because it denotes a group.
 
Old 10-04-2003, 05:21 AM   #4
DJ_Cyberdance
LQ Newbie
 
Registered: Oct 2003
Location: Austria
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you very much for your answers, I'll go and have a try ;-)
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba and quotas per user and group fcloquell Linux - Software 0 11-14-2005 11:07 AM
samba : access denied for some user in same NT group on a folder mtrento Linux - Networking 0 06-27-2005 11:01 AM
no access to shared directories with samba Meriadoc Linux - Networking 1 03-13-2005 07:42 AM
group access for specic folders in samba fidelis Linux - Networking 0 09-20-2004 04:20 AM
Permissions/group access when using Samba Nylix Mandriva 8 05-05-2004 04:39 PM


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