LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-21-2008, 09:05 AM   #1
Springs
Member
 
Registered: Apr 2008
Posts: 73

Rep: Reputation: 0
samba questions.


I'm going to be building a NAS server soon for home use using Centos 5.1 and samba and have got some questions.

I've used samba before at work but only basic functions on it so i no only a small bit about it. what I'm after is for when i hit the IP in something like XP (\\192.168.0.xx) it comes up with all the shares that are available. At the moment it keeps asking for the user name/password before i can see anything and don't really need any of that as its only gonna be "public" over the home network. I've been playing around with it on a VM at work but not getting as far as i hoped. I've installed both samba and swat to play around with. a private section would be nice but i would prefer to have a public section first before the private

does anyone have any ideas about how i can go about it.

thanks
 
Old 07-21-2008, 11:48 AM   #2
pruneau
Member
 
Registered: Jul 2008
Location: Montreal
Distribution: Debian/Fedora/RHEL
Posts: 45

Rep: Reputation: 15
Talking Simplistic solution

Well, if you really want to open your set-up up to this point, i.e. with no security, then you do something like this:
in the [global] section
Quote:
[global]
#Whatever are you other settings
(...)
security = SHARE
(...)
# change the IP to your home subnet here
host allow = 192.168.1.0/255.255.255.0
# deny the rest of the world
host deny = ALL

# then for a share
[yourshare]
(...)
force user = <any valid local user on your unix server>
force group = <any valid local group on your unix server>
read only = No
ghest ok = Yes
(...)
Of course, there is certainly something a bit more complicated that does the job, depending on how many different users are actually logged in your LAN.
An again, this is really insecure, so I'm ducking right now and waiting for the security-conscious people to throw sharp things at me.
 
  


Reply



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
Various Samba questions... essdeeay Linux - Software 2 07-09-2006 10:31 PM
samba questions binary_0011 Linux - Newbie 2 04-17-2006 09:42 AM
[Samba] some questions billiejoex Linux - Software 10 10-31-2005 01:04 PM
SAMBA questions gulo Linux - Networking 2 09-07-2004 06:28 PM
A few samba questions subaruwrx Linux - Networking 2 08-27-2004 01:02 AM

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

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