Configuring Samba Server OEL 5.8
Configuring Samba Server OEL 5.8
8
-----------------------------------------
required package:
----------------
samba-3.0*
samba-common-3*
samba-client-3*
adds user
-------------------
useradd vinita
passwd vinita
123456
configure samba
------------------
vi /etc/samba/smb.conf
[data]
comment = shared
path = /data/shared
guest ok = yes
read only = no
public = yes
writable = yes
:wq
-----------done-------------------
=========================================
group access
------------------------
[accounting]
comment = Accounting Department Directory
writable = yes
valid users = @account
path = /home/samba/accounting
create mode = 0660
directory mode = 0770
# mkdir /home/samba/accounting
# chgrp account /home/samba/accounting
# chmod 770 /home/samba/accounting
===========================================
to check smb connection form windows client(to close connection without logoff)
---------------------------------------
cmd
net use
net use \\192.168.2.167\data /delete
net use