Samba Server

Hi Friends , if you want to access linux shares from windows and add files into linux share you are at right place.

Scenario :

1 Desktop pc --> Windows vista
1 Desktop pc --> Windows 2000
1 Desktop pc -->  Redhat 5 (RHEL 5)

we will setup samba server on RHEL 5 and then we will access that share from windows 2000 and windows vista.


RHEL 5 :
----------
1)  yum -y install samba*
2)  yum -y install system-config-samba   ( For Samba GUI Configuration )
3)  vim /etc/samba/smb.conf
4)  Look for  hosts allow =  add IP subnets here Ex .     192.168.1.  127.  10.47.0.   NO COMMAS
5)  At the end of File add :
  
     [SHARE NAME]
           comment = root
           path = /                    --> to share
           writeable = yes        --> Connected user can read write
           

6) This information is enough in smb.conf
7)  system-config-samba 
8)  preferences > server setting > security > authentication mode "Share"
9)  preferences > samba users > add user > unix username and enter password for samba 
10) Click on share , click on properties , ACCESS > Allow access to everyone

How to access Shared Folders from windows 2000 and windows vista

1) Run > \\RHEL server ip\

Thats It! Now you can even insert files into share so that it can be visible in RHEL 5! 
Aree ooo Sambaa! Tu to kamal ka software hai!





0 comments:

Post a Comment