Wednesday, March 10, 2010

An easy way in Linux file sharing with SAMBA

Samba (server message block) is a protocol file sharing and printer sharing to compete with the existing protocols of Novell's IPX-based.SMB is a protocol file sharing and printer sharing Dapa first run on start protocol: TCP / IP, Ne BEUI , IPX / SPX. In other words, the SMB server can replace the position Novell server without having to change the infrastructure of the network will sendiri.Disini author briefly explains the samba server settings in Open Suse 10.0 is langkah2 following it:

1. Make sure that the samba server has been installed.
rpm-qa | grep samba
yast2-samba-server-2.13.9-8
samba-3.0.22-11
samba-client-3.0.22-11
kdebase3-samba-3.5.1-69
samba-vscan-0.3.6b-40
yast2-samba-client-2:13:18-4
samba-doc-3.0.22-16
samba-winbind-3.0.22-11
2. Edit the samba configuration file. If in OpenSuse, the existence of / etc / samba / smb.conf. On the other distributions
should be about / etc / as well.
In the smb.conf file is already there bagian2 configurations, namely with the [Global], [homes],
[printers], etc.

[global]

workgroup = HOME
server string = FSHENDRO
interfaces = 192.168.5.1
bind only = true interfaces
# Printing = cups
# Printcup name = cups
# Printer admin = @ ntadmin, root, administrator
map to guest = Bad User
passwd program = / usr / bin / passwd% u
passwd chat = * password *% n \ n * password *% n \ n * changed *
passwd chat debug = Yes
unix password sync = Yes
logon script = profile.bat
logon path = \ \ N% \ profiles \% u
logon drive = H:
logon home = \ \ N% \% u
domain logons = Yes
domain master = Yes
wins support = Yes

[homes]
comment = Home Directories
valid users =% S
browseable = Yes
read only = No

[share]
comment = share to all users
path = / samba / share
read only = No
writeable = Yes
create mask = 0666
inherit permissions = Yes

[groups]
comment = All groups
path = / home2 /% g
writeable = Yes
inherit permissions = Yes
create mask = 0666

comment = Intaller
path = / samba / source
read only = No
writable = No
inherit permissions = No

# [printers]

# Comment = All Printers

# Path = / var / tmp

# Printable = Yes

# Create mask = 0600

# Browseable = No

# [print $]

# Comment = Printer Drivers

# Path = / var / lib / samba / drivers

# Write list = @ root ntadmin

# Force group = ntadmin

# Create mask = 0664

# Directory mask = 0775

No comments:

Post a Comment