Configuration of Samba Web Server
Samba use the Simple Mail Protocol (SMP) to share files & printer across a network connection. SAMBA is useful if you have a network of both Windows and Linux machine SAMBA allow file & printers shared by all the systems in a network to share files between Linux machine NFS is used while to share file & printers between Linux & Window. Samba used CISF share. CISF (Common Interface File System) is a file system and protocol.
Configuration File: The default configuration files allow user to view their home directories as a SAMBA share. It also shares all printers configured for the system as samba share printers.
1. /etc/samba/smb.conf
2. /etc/samba/smbpasswd (Samba user’s passwd file)
Services:
1. smb
# yum install system-config-samba (Install 2 required packages of Samba)
1. system-config-samba
2. samba
# system-config-samba (For graphically configuration)
# chkconfig - -list smb
# chkconfig smb on
Add user for samba access if does not user exist.
# smbpasswd –a <user_name> (Enter samba user’s password twice)
# service smb restart
Windows Side:
Go to the Windows system > Go to Run and enter “\\<IP of UNIX system>”
\\192.168.1.3
Enter Samba user name
Enter Samba user’s password
No comments:
Post a Comment