how to create a simple samba share
I am trying to play around with my own home setting lab with windows 2008 r2 college edition with centos free edition. I want to play around with backing up my linux files to windows 2008 r2 standard. What is the easiest and best way to do so? thanks in advance.
|
Most distros have a GUI interface for configuring samba; So to simply answer your question, you can use the GUI configuration to create a "simple" share. It should be located within your settings menu.
Cheers, Josh |
Quote:
|
Ahh ok, that's cool :)
Check out the following link - http://www.cyberciti.biz/faq/add-sam...in-linux-unix/ There are many tutorials and loads of information online, but that link is one of the "simplest" that are out there. Overall, setting up individual shares is quite easy. Let me know if you need any other help! Cheers, Josh |
Quote:
[incoming] comment = Icomming data writable = yes path = /home/incoming Save close the file. Restart Samba : # /etc/init.d/samba restart If you are using Redhat/CentOS/Fedora core type: # service smb restart where do I allow certain ips to access the share? and what should the windows side be apply or how to access the linux side of the share? I guess what I am trying to say is how will windows side access or hitting that share? thanks. |
any ideas?
|
You could always create a custom iptables script to allow by IP, if that's what you want.
|
how do I just all one ip address to access the share?
|
You can achieve this by editing following files.
/etc/hosts.allow /etc/hosts.deny Enties should be like this. IPaddress Hostname |
Adding to the suggestions above, you can aslo declare a host allow/deny in the smb.conf global section
Code:
hosts allow = 127.0.0.1 192.168.1.0/24 192.168.2.0/24 |
do I need to disable firewalls on windows or linux for the connection to go through?
|
Disabling firewall is not a good option. It totally depends on how your firewall(s) is(are) configured. You might need to add an exception to the firewall. You can achieve this by using iptables package in linux and as far as windows is concerned, it depends on which firewall you are using in windows.
|
I followed the links provided it is not connecting with what I put within smb.conf
|
download webmin from webmin page and u can do alot of things with it
|
anybody got their own little smb that works?
|
All times are GMT -5. The time now is 08:11 PM. |