삼바서버 설정예제
아래는 제가쓰는 삼바서버 설정예제입니다.
현재 프린트서버는 쓰지않고 공유디렉토리만 설정해서 쓰고있습니다. 
################################
/etc/samba/lmhosts
127.0.0.1 localhost
192.168.1.1 공유컴퓨터이름
################################
#/etc/samba/smb.conf
#======================= Global Settings ========
[global]
########################################
#/etc/samba/smbusers
# 
Unix_name = SMB_name1 SMB_name2 ...
#root = administrator admin
#nobody = 
guest pcguest smbguest
유저이름 = 유저이름
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup =워크그룹이름
# server string is the equivalent of the NT Description field
server 
string = Samba Server
hosts allow = 192.168.1.1
name resolve order = wins lmhosts bcast 
host
interfaces = 192.168.1.0/24 127.0.0.0/8
hosts deny = ALL
debug 
level = 1
load printers = no
#커스컴 셋팅 시작
#타임아웃 설정
dead time = 10
# 
사용자가 "루트" 로 접속하는 것을 허용하지 않음, 만약을 위해서.
invalid users = root
#캐쉬사용. 
속도향상
read prediction = true
#TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 
SO_RCVBUF=4096 
create mode = 0640
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that 
connects
log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 
100
security = user
encrypt passwords = yes
smb passwd file = 
/etc/samba/smbpasswd
*ReType*new*UNIX*password* %nn *passwd:*all*authentication*tokens*updated*successfully*
# Unix users can map to different SMB User names
username map = 
/etc/samba/smbusers
# Most people will find that this option gives better performance.
# See 
speed.txt and the manual pages for details
socket options = TCP_NODELAY 
SO_RCVBUF=8192 SO_SNDBUF=8192
# this has been changed in version 1.9.18 to no.
dns proxy = no 
#============================ Share Definitions
[homes]
comment = 
user's home dir
browseable = yes
writable = yes
# NOTE: If you have a BSD-style print system there is no need to
# 
specifically define each individual printer
;[printers]
; comment = All 
Printers
; path = /var/spool/samba
; browseable = no
# Set public = yes 
to allow user 'guest account' to print
guest ok = no
printable = no
# This one is useful for people to share files
;[tmp]
; comment = 
Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# 
the "staff" group
[public]
comment = Share Dirs
path = /some 
path/dir
valid users = user name
public = no
writable = 
yes
printable = no
write list = @wheel
아래링크는 삼바에 관한 자세한설명이 있습니다.
http://www.samba.org관련 링크: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/StandAloneServer.html