[ILUG] smb.conf Is this OK? (my first attempt)

Brian Brazil bbrazil at netsoc.tcd.ie
Tue Apr 20 12:29:50 IST 2004


On Tue, Apr 20, 2004 at 12:23:37PM +0100, Frank Murphy wrote:
> [Global]
> 
> 	workgroup= mylan
> 	server string= samba server
> 	hosts allow= 192.168.0.1/255.255.255.0
> 	log file= /var/log/samba/%m.log
> 	encrypt passwords= yes
> 	smb password file= /etc/samba/smbpasswd
> 
> 
> [MyFiles]
> 	
> 	comment= File Directories
> 	browseable=yes
> 	path= /file01
> 	path= /file02
> 	path= /file03
> 	path= /file04

Should only be one path. I'm unsure of what the behaviour would be.
Use 'testparm' to check for syntax errors.

> 	write list=me
> 	guest= no

Try:
	
[files1]
	path=/dir1
	<insert other stuff>
[files2]
	path=/dir2
	<insert other stuff>
[files3]
	path=/dir3
	<insert other stuff>

Brian



More information about the ILUG mailing list