Networking :: Samba for File Server
Hi I am a newbie.
Also I would like to set up one of my 486 machines for File Print sharing as well as mail server. Is this possible with DSL ? If so could anyone guide me or where 2 look up the info
For your file printer server you want to research the topic samba if you are working in a mixed network (windows and linux machines). You can download samba from MyDSL->Net with the desktop icon. Once done, you will need to edit the /etc/samba/smb.conf to allow sharing with your windows machines. Configuring smb.conf can be complex so you might want to keep it simple at first. For file sharing you can do something like -
[global]
workgroup = your_work_group_name
server string = your share name
hosts allow = your home network id like 192.168.10.0/24
security = user # allows you to require a password on your share
encrypt passwords = yes # if you choose security = user
# you need to add users with smbpasswd command
smb passwd file =/etc/smbpasswd
# alternatively you can use the following to allow every access t the share without password
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[your_share_name]
comment = my network share
# make sure your permissions on the directory are set correctly
path = your_path_to_the_share_directory
guest ok = no #if you don't want to require a login use guest ok = yes for no login
read only = no
Once this is in place you'll want to start the smbd and nmbd deamons. In a terminal window type
sudo smbd stop
sudo nmbd stop
sudo smbd start
sudo nmbd start
or just make yourself the superuser and forget the sudo.
You can search the DSL wiki and forums for more information on the topic. I have found some that are quite good. I have not setup a shared print server yet (no share printer or room) so I don't know what is needed in the smb.conf file. There is some information in the conf file and on the internet.
As far as the e-mail server goes. I am not sure what is needed there either.
Use this information as a guide and double check it against what I typed. It can be tricky at times getting it setup but once it is working it works well.
Thank You very much. That would b more like peer to peer sharing ? Right
Can I Use SAMBA.dsl to substitute for windows 2000 ?
for File / Printer Sharing ? Currently I am reading documentation for SAMBA, however I want 2 know if SAMBA.dsl will perform equally ?
I am not sure what you mean by "perform equally". Once setup correctly your linux share will show up on all other machines in you network in the same workgroup (and network id) and you will be able to share files between the machines. Likewise your linux box see all windows machines in the same workgroup. There are commercial products that use linux in this way to provide an inexpensive (less than $100) file server for home networking - linksys nslu2 for example. However using DSL and setting it up yourself is more fun if are into that sort of thing.
Samba can do most of except the domain controlling/password business. It can do quite a lot and the documentation is really good. I 've found the book Teach Yourself Samba in 24 Hours to be quite good, but here's a ton of good documentation on the Internet.
Next Page...
original here.