Configuration of Samba Server.

# Configuration of Samba Server.
--------------------------------
# Required RPMs:
----------------
system-config-samba-1.2.39-1.el5
samba-common-3.0.23c-2
samba-client-3.0.23c-2
samba-3.0.23c-2
samba-swat-3.0.23c-2

# Configuration Files:
----------------------
/etc/samba/smb.conf

# Required Services and daemons:
--------------------------------
smb

# Configuration Steps:
----------------------
vi /etc/samba/smb.conf
041 hosts allow=192.168.150.
279 [E]
280 comment = Share
281 path = /E
282 writable = yes
283 browseable = yes
284 guest ok = yes
:wq
# Also we can add another fields.

# Creation of Samba User.
-------------------------
useradd -s /sbin/nologin user1
smbpasswd -a user1
or
useradd user1
passwd user1
smbpasswd -a user1

# Turn on the Services and Daemons.
chkconfig smb on
service smb restart

# To verify the Server on Unix machine
smbclient -L //192.168.150.51
  passwd:press enter - Don't give any pasword.
smbclient -L //192.168.150.51 -U user1
  passwd:******* - Give a pasword of samba user.

Comments

Popular Posts

Connecting to Your Linux Instance from Windows Using PuTTY

Install and configure rsyslog Centralized logging server in CentOS

How to scan new iSCSI disks in Linux ?