LinuxQuestions.org
Help answer threads with 0 replies.
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-28-2006, 09:46 PM   #1
Harpo
Member
 
Registered: Mar 2006
Location: Canada
Distribution: Suse 10.0 Retail, 10.1, 10.2, 11.1, Edubuntu 7.04, Mandriva 2010
Posts: 89

Rep: Reputation: 15
How To Limit Samba Shares In /Home


Hello

I have Suse 10 installed in a home network. I can see linux and can browse most /home folders from the WinXP home machine. My question is how to limit access to some of my home folders? By default Documents, and desktop are not accessible. Public_html, bin, and any other folder I put in here are accessible though. Despite the fact that all folders in /home are not shared according to the properties of each folder. I have unchecked the box that says "share all home folders" in Samba server setup in the shares tab. No matter how many times I un-check the box, every time I go back to it it is checked again. I assume it is inheriting this from a higher authority. Would someone be able to help me with how to limit what is shareable? Any help here would be appreciated.

Thanks
Harpo
 
Old 03-29-2006, 06:50 AM   #2
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 52

Rep: Reputation: 16
Open a terminal, and type;

Code:
cat /etc/samba/smb.conf
This is the config file which specifies how youre share works, and which is read by the samba daemon. It starts with a [global] section, and the sections after that are [sharename]. Removing the relevant part would remove the share.

For example, I have a slackware share:

Code:
[slackware]
        comment = slackware tree and isos
        path = /data/programs/slackware
        read only = yes
        guest only = yes
To remove the share, I would remove this whole section.
 
  


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
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 12:47 AM
Samba does not allow writing to public shares / browsing home directories disallowed Xolo Linux - Software 6 02-14-2005 04:22 PM
Apache subdomains like Samba home-shares toffi22 Linux - Software 1 01-30-2005 07:16 PM
samba home directory shares walewis Linux - Software 8 09-28-2003 06:03 PM
XP home fails to connect to samba shares J_Szucs Linux - Software 1 05-16-2003 10:21 PM

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

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