LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2009, 04:30 PM   #1
snake_eyes
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
error with multiple shared folders


Hello,

I installed
Code:
sudo apt-get install samba
sudo apt-get install system-config-samba
and then add to the end of the section smb.conf Global Settings usershare owner only = false.

the Authentication info as below
Quote:
security = user
username map = /etc/samba/smbusers
sudo pico /etc/samba/smbusers
<username> = "<username>"
and here is my Share Definitions
Quote:
[homes]
comment = Home Directories
; writeable = No
browseable = no

valid users = %S

[Documents]
comment = Documents
path = /home/james/Documents
writeable = yes
; browseable = yes
valid users = james
With the above configuration I can access the Ubuntu and see the Documents directory of my /home/james/Documents plus the james directory which is my home dir on ubuntu /home/james. My questions are:
1. how to hide the home directory
2. when I add another shared directory such as Documents of mike when I login with my user james it goes to mike documents although the smb.conf appear like this

Quote:
[Documents]
comment = Documents
path = /home/james/Documents
writeable = yes
; browseable = yes
valid users = james

[Documents]
comment = Documents
path = /home/james/Documents
writeable = yes
; browseable = yes
valid users = james
instead of Documents section for each user (James and Mike)

Please note that when mike login he can able to see my home directory and me also when I login I can able to see his home

Any help please?

Cheers,
 
  


Reply

Tags
samba, sharing, ubuntu



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
copying multiple files in multiple folders ?? stratotak Linux - Newbie 2 02-21-2009 09:41 AM
Can't See Shared Folders Harpo Linux - Networking 2 09-03-2007 11:19 AM
Shared Folders dudeman41465 Linux - Software 3 10-10-2005 03:12 AM
Shared Folders dudeman41465 Linux - Security 1 06-28-2005 06:38 PM
Shared Folders dudeman41465 Linux - Networking 2 06-27-2005 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 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