Article View: csu.unix.linux
Article #138Re: Smb.conf
From: Adam Carheden
Date: Thu, 10 Feb 2000 00:00
Date: Thu, 10 Feb 2000 00:00
80 lines
3167 bytes
3167 bytes
Well, workgroup is set to WORKGROUP. You might want to change that to
whatever workgroup/domain your windows machines are using. Also, try
setting a netbios name such as 'netbios name = myWinMachineName'. If
you have an NT server on your local net, you might want to 'wins server
= 129.82.ntmachine.ip' For security reasons, you might also want to add
the following line: 'hosts allow = 129.82. 127.' This would limit
connections to IP that start with those octets (csu and loopback). The
trailing . are important.
The easiest way to do stuff is to use SWAT, the Samba Web Administration
Tool which is installed with samba as a web server on port 901. Go to
http://samba.server.ip.addr:901 and log in as root. You can then modify
smb.conf using a nice gui interface.
--
Adam Carheden
carheden@holly.ColoState.EDU
Here's my smb.conf if you want to take a look:
# Samba config file created using SWAT
# from dialup0028.PPP.ColoState.EDU (129.82.52.127)
# Date: 2000/02/10 08:17:54
# Global parameters
[global]
workgroup = CNHP
netbios name = FTP
netbios aliases = walrus
server string = CNHP Samba Server
security = SERVER
password server = OTTER
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/local/samba/bin/addsmbusr %u
dns proxy = No
wins server = 129.82.197.251
hosts allow = 129.82. 127.
[homes]
comment = Home Directories
read only = No
browseable = No
[downloads]
comment = CNHP local software repository
path = /home/samba/cnhp
guest account =
read list = @cnhp
write list = @cbt
read only = No
[ftp_pub]
comment = CNHP ftp site /pub directory
path = /home/ftp/pub
guest account =
write list = @cbt,@cnhp
read only = No
[GIS North]
comment = DRG's from Norther Colorado
path = /home/samba/gis_north
guest account =
write list = @cbt
read only = No
[GIS South]
comment = DRG's from Southern Colorado
path = /home/samba/gis_south
guest account =
write list = @cbt
read only = No
[web]
comment = Web Site
path = /home/httpd
guest account =
write list = @ecoweb
read only = No
Technical Details
Message-ID:
<38A2D1F0.CEB2088E@holly.ColoState.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38a253f9@news.ColoState.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1159f7,9193302b72840300 X-Google-Attributes: gid1159f7,public From: Adam Carheden <carheden@holly.ColoState.EDU> Subject: Re: Smb.conf Date: 2000/02/10 Message-ID: <38A2D1F0.CEB2088E@holly.ColoState.EDU> X-Deja-AN: 584133020 Content-Transfer-Encoding: 7bit References: <38a253f9@news.ColoState.EDU> X-Accept-Language: en-US, en Content-Type: text/plain; charset=us-ascii X-Trace: 10 Feb 2000 07:57:38 -0700, dialup0028.ppp.colostate.edu MIME-Version: 1.0 Newsgroups: csu.unix.linux