Click to See Complete Forum and Search --> : SMB.conf


nagchampa
01-14-2002, 06:42 PM
can anyone post a simplified smb.conf up. the one that comes with redhat is just ugly as sin. I am reading up on the different commands but was hoping someone could post a basic one that allows for sharing and the Master Browser..


thanks

mychl
01-17-2002, 12:28 PM
################################################## ########
#GLOBAL PARAMETERS ###
################################################## ########
workgroup = STARFLEET
netbios name= ENTERPRISE
domain master = ENTERPRISE
server string = Samba SMB 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 = No

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

mychl
01-17-2002, 12:29 PM
also add a user... samba, to your system

czgu
01-19-2002, 11:15 PM
How come I can't set interfaces. If I set it as interfaces = 192.168.0.1/24 127.0.0.1/24,
nmbd won start. If set

interfaces = 192.168.0.1/24 127.0.0.1/24
bind interfaces only = Yes

both smbd and nmbd can't start.