#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
# $Id: smb.conf,v 1.2.4.6 2002/03/13 18:56:16 peloy Exp $
#
# 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]

# Do something sensible when Samba crashes: mail the admin a backtrace
#   panic action = /usr/share/samba/panic-action %d
	path = /
	passwd program = /usr/bin/passwd %u
	auto services = images
	load printers = no
	dns proxy = no
	null passwords = yes
	socket options = TCP_NODELAY
#	invalid users = root
	max log size = 1000
	obey pam restrictions = no
	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
	server string = pictureframe (Samba %v)
	workgroup = sparky
	syslog = 0
	comment = digital picture frame
	log file = /var/log/samba/log.%m
	netbios name = pictureframe
#	load printers = yes
	guest account = root
#	username map = /etc/samba/user.map

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

[images]
	path = /mnt/hd/images
	comment = pictures
	guest account = root
	writable = yes
	public = yes

