My Blog List

Sunday, September 5, 2010

Samba Server Configuretion

################# SAMBA ######################

*To configure samba server.

To Server side configuretion.

1)To install package.
#rpm -ivh xinetd* --force --aid
#rpm -ivh samba* --force --aid

2)configure the samba.(conf. file)
#vim /etc/samba/smb.conf

[global]

 workgroup = mac
 server string = Samba Server

[vikas]
      comment = lax friend`s stuf
      path = /karan
      valid users = l1 l2
      public = yes
      writable = yes
      printable = no
      create mask = 0765

3)To create the directory.
# mkdir /karan

4)To give full the permition.
#chmod 777 /karan/

5)To create the user.
#useradd l1
#useradd l2

6)To create the password.
#smbpasswd -a l1
#smbpasswd -a l2

7)To restart the service.
#service smb restart

8)To check.
#testparm

To client side configuretion.

1)To check connectivity.
#ping (IP)

2)To check by ftp method.
#smbclient //(ip)/(Share folder name) -U (user)

############### END ################
By Laxman D. Kadam
Ph. No. 9967413230
email:-vikasjk3@gmail.com

No comments:

Post a Comment