Thread: Samba?
View Single Post
Old 03-13-2003, 07:08 PM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
here's a config that i found a while ago. it works if you change the parameters to fit your system.
Code:
##################################################
######## 
# SAMBA CONFIGURATION ### 
##################################################
######## 
#Written by mychl ### 
##################################################
######## 

##################################################
######## 
#GLOBAL PARAMETERS ### 
##################################################
######## 
workgroup = STARFLEET 
netbios name= ENTERPRISE 
domain master = ENTERPRISE 
server string = Mychl's Samba Server 
interfaces = 192.168.1.1/24 127.0.0.1/24 
bind interfaces only = Yes 
security = SHARE 
log file = /var/log/samba/log.%m 
#root directory = /home/samba 
max log size = 50 
read bmpx = No 
time server = Yes 
socket options = TCP_NODELAY 
os level = 65 
preferred master = Yes 
dns proxy = No 
wins support = Yes 
guest account = samba 
hide dot files = Yes 

##################################################
########## 
#SHARES CONFIGURATION 
##################################################
########## 
[NetShare] 
comment = Public 
path = /home/samba 
read only = No 
create mask = 0664 
directory mask = 0777 
guest ok = Yes 

[Music] 
comment = MP3 Server 
path = /home/mychl/music 
read only = No 
create mask = 0664 
directory mask = 0775 
guest ok = Yes
Then turn samba on by doing [SHELL]# /etc/init.d/smb start [/SHELL] as root
sde is offline   Reply With Quote