Now, i re-install one of the server to be pointed as a fileserver, which will stores files from the users here. I installed samba on Ubuntu Hardy Heron server edition
We will concentrate on /etc/samba/smb.conf ( samba configuration file )
The condition that i like to make are :
- one public shared folder
- some folder which can be access base on that folder password
- sudo mkdir /home/shared { create a shared folder for public }
- sudo adduser --home /home/source source {create source user}
- sudo adduser --home /home/filing filing {create filing user}
- sudo smbpasswd -a source {smbpasswd for source}
- sudo smbpasswd -a filing {smbpasswd for filing}
- sudo nano /etc/samba/smb.conf
[global]don't forget to restart the samba service :==> sudo /etc/init.d/samba restart
workgroup = workgroup_name
netbios name = citserver { this computer name for network }
host allow = 192.168.1.0/24
server string = %h (Ubuntu Samba Server)
security = share
smb passwd file = /etc/bin/smbpasswd
dns proxy = no
[home]
read only = no
browseable = no
[shared]
path = /home/shared/
comment = X Directory
public = yes
read only = no
browseable = yes
Now, you can access samba shares from the clients
For Windows :==> type \\citserver\foldername on explorer bar
For Linux :==> smb://citserver/foldername on nautilus bar
For more and details info :==>
Ubuntu help
Thanks to Mr. Taufan Lubis