Professional Documents
Culture Documents
Samba: File and Print Services To Server Message Block (SMB) Clients
Samba: File and Print Services To Server Message Block (SMB) Clients
Unix users can mount the shares directly as part of their file
structure.
Samba Server A
B
192.168.0.253
/var/zoom
A B
/mnt/share1
Z:
Ravi Ali
Linux Client Windows Client
How Samba Works Share on Windows
Samba Server
192.168.0.253
/smb2
share
Ravi Ali
Linux Client Windows Client
Samba
samba* smb
/etc/samba/smb.conf nmbd
Samba Server
192.168.0.253
/var/zoom
/mnt/smb1
Z:
Ravi Ali
Linux Client Windows Client
Samba Server Configuration
[myshare]
comment = Zooms share
path = /var/zoom
valid users = ravi ali
public = no
writable = yes
printable = no
create mask = 0765
Samba Server Configuration
Create users
[root@sambaserver ~]# useradd ravi
[root@sambaserver ~]# useradd ali
Note:
Samba passwords are stored in /etc/samba/smbpasswd
Configuration
Samba Server
192.168.0.253
/var/zoom
Ravi
share
Ali
Linux Client Windows Client
192.168.0.252
Shared Folder on Windows