LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Need minimal Samba configuration with guest r/w share instructions (http://www.linuxquestions.org/questions/linux-server-73/need-minimal-samba-configuration-with-guest-r-w-share-instructions-912568/)

daggett 11-08-2011 09:33 PM

Need minimal Samba configuration with guest r/w share instructions
 
For the last week I have been engaged in yet another attempt to set up on my home Linux computer a Samba server with no more than a single share onto which anyone, within the local network (192.168.0.0/24) in my residence, can put files and off which they can copy files.

I have been searching and searching the Internet, so far, with Google and AltaVista, and have found nothing I, with my knowledge of computers, have been able get to work.1

Not one of the help pages I have looked at is without ambiguity. This causes people, who, like me, don't already have a firm understanding of Samba, to make logical or syntactical errors in trying to apply that knowledge.

What I simply need is:

1. A file /etc/samba/smbd.conf that will allow any windows computer to be able to write to, read from or delete from 192.168.0.9:/srv/share/guest/ (or nuuk:/srv/share/guest/) without having to log in or provide a password.

2. Instruction as to how I can test this server from (a) a M$ (XP, Win 7, etc.) machine and (b) another Linux machine.

Footnotes

1. Pages I have looked at include (nearly all of) those linked to by the following:

http://www.samba.org/samba/docs/using_samba/appa.html
http://www.melbpc.org.au/pcupdate/2403/2403article7.htm
http://ubuntu.swerdna.org/ubulanprimer.html
http://www.samba.org/samba/docs/man/...diagnosis.html
http://ubuntu.swerdna.org/ubulanprimer.html
https://www.linux.com/learn/tutorial...sy-samba-setup
http://www.samba.org/samba/docs/man/...diagnosis.html
http://forums.gentoo.org/viewtopic.php?t=110931
http://community.linuxmint.com/tutorial/view/672
http://www.centos.org/modules/newbb/...33713&forum=59
http://oreilly.com/openbook/samba/book/ch06_02.html
http://www.oregontechsupport.com/samba/configure.php
http://www.cyberciti.biz/tips/how-do...ba-shares.html
http://oreilly.com/catalog/samba/cha...k/ch06_02.html
http://micheljansen.org/blog/entry/182
http://www.tek-tips.com/faqs.cfm?fid=782
https://help.ubuntu.com/11.04/server...ileserver.html
http://askubuntu.com/questions/12254...o-samba-shares
http://kimbriggs.com/computers/compu...de-ubuntu.file
http://www.linuxquestions.org/questi...please-212804/
http://ubuntuforums.org/showthread.php?t=202605

davesny 11-09-2011 03:22 PM

Hi,
It is not hard, although the first time it might appear to be overwhelming.
You will need to post the system that you are using. I presume it is Ubuntu.
You will need to work on you own Samba file. Make a copy of it for reference purposes. (I use openSUSE. My file is smb.conf)
The Windows boxes will each need to have a user name, and a password. They will need to be the same in you Linux box.
They will all need to be part of the same network.
You will probably need static addresses.
You will need to set up your Host Names, or something similar.
You will probably need to add each of the users of the other computers to your Linux box (add to Users). Then they can access their own user space on the Linux box.
You will need to use a terminal in root to allow the users to access the Samba shares. (smbpasswd -a <username>)
You will have to open the ports in the Firewall.
If you have them access any other part of the Hard Drive on the Linux box, you will need to deal with permissions.
davesny


All times are GMT -5. The time now is 06:55 AM.