Saturday, August 29, 2009

Linux Samba Server Configuration

How to Configure Samba Server on Linux

What RPM Need to be installed:

system-config-samba-1.2.39-1.el5
samba-common-3.0.23c-2
samba-3.0.23c-2
samba-client-3.0.23c-2
What is the Config File:

#/etc/samba/smb.conf
what is the service need to started

#service smb restart
Configure Samba Server:

Add the entry to vi /etc/samba/smb.conf

[samba-disk1]
comment = samba-disk1
path = /disk1
write list = root
valid users = root guest
create mask = 0664
directory mask = 0775
#save
Add the Samba user Paasword

#smbpasswd -a root
How mount samba clinet on Windows

start->run->//sambaserver ipaddress it will ask sambaserver username and password
How to mount samba client on Linux

mount.smbfs //sambaserver ipaddress/shared path /localpath

Ex:
mount.smbfs //10.192.192.189/samba-disk1 /disk1
or

mount //10.192.192.189/samba-disk1 /disk1 and it will ask samba server password
Note:The samba.winbind package need to installed for this future

No comments:

Post a Comment