All pastes #36224 Raw Edit

Unnamed

public text v1 · immutable
#36224 ·published 2006-01-09 03:49 UTC
rendered paste body
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which 
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic 
# errors. 
#

#======================= Global Settings =======================

[global]
	encrypt passwords = true
	server string = server
	invalid users = root
	workgroup = WORKGROUP
	load printers = yes
	use client driver = yes
	printing = cups
	printcap name = /etc/printcap
	show add printer wizard = yes
	printer admin = chris,root,amy
	guest ok = yes
	security = share

[Music]
	browseable = yes
	writable = no
	public = yes
	path = /mnt/md0/Music

[Video]
	browseable = yes
	writable = no
	public = yes
	path = /mnt/md0/video

[Books]
	browseable = yes
        writable = no
        public = yes
        path = /mnt/md0/books

[printers]
	browseable = yes
	writable = no
	printable = yes
	path = /tmp
	public = yes

[PhotoSmart-7150]
	printable = yes
	browseable = yes
	writeable = no
	public = yes
	path = /tmp
	hosts allow = 192.168.1.1/24

[print$]
	path = /etc/samba/drivers
	browseable = yes
	public = yes
	read only = yes
	write list = chris,root,amy